pub struct EventGroup {
pub data_source: Option<String>,
pub default_events_destinations: Vec<EventStreamDestination>,
pub event_group_configuration: Option<String>,
pub events: Vec<Event>,
pub name: String,
pub type_ref: Option<String>,
}
Expand description
Represents an event group in an asset.
Fields§
§data_source: Option<String>
The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
default_events_destinations: Vec<EventStreamDestination>
Default destinations for an event.
event_group_configuration: Option<String>
Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
events: Vec<Event>
Array of events that are part of the asset. Each event can have per-event configuration.
name: String
Name of the event group.
type_ref: Option<String>
URI or type definition ID.
Trait Implementations§
Source§impl Clone for EventGroup
impl Clone for EventGroup
Source§fn clone(&self) -> EventGroup
fn clone(&self) -> EventGroup
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventGroup
impl Debug for EventGroup
Source§impl PartialEq for EventGroup
impl PartialEq for EventGroup
impl StructuralPartialEq for EventGroup
Auto Trait Implementations§
impl Freeze for EventGroup
impl RefUnwindSafe for EventGroup
impl Send for EventGroup
impl Sync for EventGroup
impl Unpin for EventGroup
impl UnwindSafe for EventGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more