pub struct Event {
pub level: Level,
pub component: Component,
pub name: &'static str,
pub attrs: Vec<Attribute>,
}Expand description
Event record. Produced by the DCPS runtime and plugins.
Fields§
§level: LevelSeverity.
component: ComponentOriginating component.
name: &'static strStable event name in domain.event form (e.g.
dcps.user_writer.created, discovery.peer.matched).
attrs: Vec<Attribute>Optional structured attributes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin 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