pub struct DiscoveredEvent {
pub data_points: Vec<DiscoveredEventDataPoint>,
pub destinations: Vec<EventStreamDestination>,
pub event_configuration: Option<String>,
pub event_notifier: String,
pub last_updated_on: Option<DateTime<Utc>>,
pub name: String,
pub type_ref: Option<String>,
}
Expand description
Represents an event in a discovered asset.
Fields§
§data_points: Vec<DiscoveredEventDataPoint>
Array of data points that are part of the event. Each data point can have per-data-point configuration.
destinations: Vec<EventStreamDestination>
The destination for the event.
event_configuration: Option<String>
Stringified JSON that contains connector-specific configuration for the specific event.
event_notifier: String
The address of the notifier of the event in the discovered asset (e.g. URL) so that a client can access the notifier on the asset.
last_updated_on: Option<DateTime<Utc>>
UTC timestamp indicating when the event was added or modified.
name: String
The name of the event.
type_ref: Option<String>
URI or type definition id of the event
Trait Implementations§
Source§impl Clone for DiscoveredEvent
impl Clone for DiscoveredEvent
Source§fn clone(&self) -> DiscoveredEvent
fn clone(&self) -> DiscoveredEvent
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 DiscoveredEvent
impl RefUnwindSafe for DiscoveredEvent
impl Send for DiscoveredEvent
impl Sync for DiscoveredEvent
impl Unpin for DiscoveredEvent
impl UnwindSafe for DiscoveredEvent
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