pub struct DebugContext {
pub component: &'static str,
pub details: Vec<(&'static str, &'static str)>,
}
Expand description
Debug context
Fields§
§component: &'static str
Component name related to the debug message
details: Vec<(&'static str, &'static str)>
Additional static key/value fields for context
Trait Implementations§
Source§impl Debug for DebugContext
impl Debug for DebugContext
Source§impl Default for DebugContext
impl Default for DebugContext
Source§fn default() -> DebugContext
fn default() -> DebugContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DebugContext
impl RefUnwindSafe for DebugContext
impl Send for DebugContext
impl Sync for DebugContext
impl Unpin for DebugContext
impl UnwindSafe for DebugContext
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