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