pub struct EmittedEvent {
pub event_type: String,
pub data: KindedSlot,
pub timestamp: Instant,
}Expand description
An emitted event from an annotation handler
Used by annotations like @alert, @logged, @audit_logged
Fields§
§event_type: String§data: KindedSlot§timestamp: InstantTrait Implementations§
Source§impl Clone for EmittedEvent
impl Clone for EmittedEvent
Source§fn clone(&self) -> EmittedEvent
fn clone(&self) -> EmittedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmittedEvent
impl RefUnwindSafe for EmittedEvent
impl Send for EmittedEvent
impl Sync for EmittedEvent
impl Unpin for EmittedEvent
impl UnsafeUnpin for EmittedEvent
impl UnwindSafe for EmittedEvent
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