pub struct Stat<'a> {
pub label: &'a str,
pub value: &'a str,
pub unit: Option<&'a str>,
pub delta: Option<&'a str>,
pub delta_kind: DeltaKind,
pub foot: Option<&'a str>,
}Fields§
§label: &'a str§value: &'a str§unit: Option<&'a str>§delta: Option<&'a str>§delta_kind: DeltaKind§foot: Option<&'a str>Implementations§
Trait Implementations§
impl<'a> Copy for Stat<'a>
impl<'a> Eq for Stat<'a>
impl<'a> StructuralPartialEq for Stat<'a>
Auto Trait Implementations§
impl<'a> Freeze for Stat<'a>
impl<'a> RefUnwindSafe for Stat<'a>
impl<'a> Send for Stat<'a>
impl<'a> Sync for Stat<'a>
impl<'a> Unpin for Stat<'a>
impl<'a> UnsafeUnpin for Stat<'a>
impl<'a> UnwindSafe for Stat<'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