pub struct Event {
pub target_moniker: ExtendedMoniker,
pub component_url: Url,
pub payload: EventPayload,
pub timestamp: BootInstant,
}
Fields§
§target_moniker: ExtendedMoniker
Moniker of component that this event applies to
component_url: Url
Component url of the component that this event applies to
payload: EventPayload
Payload of the event
timestamp: BootInstant
Time when this event was created
Implementations§
source§impl Event
impl Event
pub fn new_builtin(payload: EventPayload) -> Self
Trait Implementations§
source§impl HasEventType for Event
impl HasEventType for Event
fn event_type(&self) -> EventType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)