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