Struct diagnostics_log_encoding::encode::Argument
source · pub struct Argument<'a> {
pub name: &'a str,
pub value: Value<'a>,
}
Expand description
An argument for the logging format.
Fields§
§name: &'a str
The name of the logging argument.
value: Value<'a>
The value of the logging argument.
Trait Implementations§
source§impl<'a> PartialEq<Argument> for Argument<'a>
impl<'a> PartialEq<Argument> for Argument<'a>
source§impl<'a> PartialEq for Argument<'a>
impl<'a> PartialEq for Argument<'a>
impl<'a> StructuralPartialEq for Argument<'a>
Auto Trait Implementations§
impl<'a> Freeze for Argument<'a>
impl<'a> RefUnwindSafe for Argument<'a>
impl<'a> Send for Argument<'a>
impl<'a> Sync for Argument<'a>
impl<'a> Unpin for Argument<'a>
impl<'a> UnwindSafe for Argument<'a>
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