pub struct Event {
pub level: Level,
pub component: Component,
pub name: &'static str,
pub attrs: Vec<Attribute>,
}Expand description
Event-Datensatz. Wird von der DCPS-Runtime und Plugins erzeugt.
Fields§
§level: LevelSchweregrad.
component: ComponentVerursacher-Komponente.
name: &'static strStable-Event-Name in domain.event-Form (z.B.
dcps.user_writer.created, discovery.peer.matched).
attrs: Vec<Attribute>Optionale strukturierte Attribute.
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