pub struct Event {
pub id: EventId,
pub name: &'static str,
pub priority: EventPriority,
pub access: Access,
pub conform: Conform,
}Expand description
One event.
Fields§
§id: EventIdIts id.
name: &'static strIts name in the specification — “StateChanged”.
priority: EventPriorityWhich ring of the event store it goes in (§7.14.2).
access: AccessThe privilege a read needs.
conform: ConformWhen the event may or must be present.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move 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