pub struct EventId(pub &'static str);
Expand description
Used to identify events arguments provided by traits.
Use format <api>/<event>
to avoid naming collision.
Tuple Fields§
§0: &'static str
Trait Implementations§
source§impl Ord for EventId
impl Ord for EventId
source§impl PartialEq for EventId
impl PartialEq for EventId
source§impl PartialOrd for EventId
impl PartialOrd for EventId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EventId
impl Eq for EventId
impl StructuralEq for EventId
impl StructuralPartialEq for EventId
Auto Trait Implementations§
impl RefUnwindSafe for EventId
impl Send for EventId
impl Sync for EventId
impl Unpin for EventId
impl UnwindSafe for EventId
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