pub struct DiagnosticField {
pub key: String,
pub value: String,
}Expand description
Structured diagnostic field.
Fields§
§key: StringField key.
value: StringField value.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticField
impl Clone for DiagnosticField
Source§fn clone(&self) -> DiagnosticField
fn clone(&self) -> DiagnosticField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosticField
impl Debug for DiagnosticField
Source§impl PartialEq for DiagnosticField
impl PartialEq for DiagnosticField
Source§fn eq(&self, other: &DiagnosticField) -> bool
fn eq(&self, other: &DiagnosticField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DiagnosticField
impl StructuralPartialEq for DiagnosticField
Auto Trait Implementations§
impl Freeze for DiagnosticField
impl RefUnwindSafe for DiagnosticField
impl Send for DiagnosticField
impl Sync for DiagnosticField
impl Unpin for DiagnosticField
impl UnsafeUnpin for DiagnosticField
impl UnwindSafe for DiagnosticField
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