pub struct EventVariant {
pub key: &'static str,
pub label: &'static str,
pub category: EventCategory,
}Expand description
A concrete event-type key produced by expanding a parent EventDefinition
(for example a boost-ledger transaction or a rotation role/depth state).
Fields§
§key: &'static str§label: &'static str§category: EventCategoryImplementations§
Source§impl EventVariant
impl EventVariant
pub const fn new( key: &'static str, label: &'static str, category: EventCategory, ) -> Self
Trait Implementations§
Source§impl Clone for EventVariant
impl Clone for EventVariant
impl Copy for EventVariant
Source§impl Debug for EventVariant
impl Debug for EventVariant
impl Eq for EventVariant
Source§impl PartialEq for EventVariant
impl PartialEq for EventVariant
Source§impl Serialize for EventVariant
impl Serialize for EventVariant
impl StructuralPartialEq for EventVariant
Auto Trait Implementations§
impl Freeze for EventVariant
impl RefUnwindSafe for EventVariant
impl Send for EventVariant
impl Sync for EventVariant
impl Unpin for EventVariant
impl UnsafeUnpin for EventVariant
impl UnwindSafe for EventVariant
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