pub struct Event {
pub data_points: Vec<EventDataPoint>,
pub destinations: Vec<EventStreamDestination>,
pub event_configuration: Option<String>,
pub event_notifier: String,
pub name: String,
pub type_ref: Option<String>,
}
Expand description
Represents an event in an asset.
Fields§
§data_points: Vec<EventDataPoint>
Array of data points that are part of the event. Each data point can have per-data-point configuration.
destinations: Vec<EventStreamDestination>
Destinations for an 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 asset (e.g. URL) so that a client can access the notifier on the asset.
name: String
The name of the event.
type_ref: Option<String>
URI or type definition ID.
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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