pub struct DiscoveredEventGroup {
pub data_source: Option<String>,
pub default_events_destinations: Vec<EventStreamDestination>,
pub event_group_configuration: Option<String>,
pub events: Vec<DiscoveredEvent>,
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<DiscoveredEvent>
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 DiscoveredEventGroup
impl Clone for DiscoveredEventGroup
Source§fn clone(&self) -> DiscoveredEventGroup
fn clone(&self) -> DiscoveredEventGroup
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredEventGroup
impl RefUnwindSafe for DiscoveredEventGroup
impl Send for DiscoveredEventGroup
impl Sync for DiscoveredEventGroup
impl Unpin for DiscoveredEventGroup
impl UnwindSafe for DiscoveredEventGroup
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