pub struct LogEvent {
pub name: &'static str,
pub description: &'static str,
}Expand description
One catalogued event: its name and what it means.
Fields§
§name: &'static strThe category.action name.
description: &'static strWhat this event means, for clients that show a legend.
Trait Implementations§
impl Copy for LogEvent
impl Eq for LogEvent
impl StructuralPartialEq for LogEvent
Auto Trait Implementations§
impl Forget for LogEvent
impl Freeze for LogEvent
impl Move for LogEvent
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnsafeUnpin for LogEventwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for LogEventwhere
&'static str: UnwindSafe,
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