pub struct StatRow<'a> {
pub label: &'a str,
pub value: &'a str,
pub description: Option<&'a str>,
}Expand description
Borrowed caller-authored copy. An empty value stays empty; supply a distinct
string such as "UNAVAILABLE" when that is the metric’s meaning.
Fields§
§label: &'a str§value: &'a str§description: Option<&'a str>Trait Implementations§
impl<'a> Copy for StatRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for StatRow<'a>
impl<'a> RefUnwindSafe for StatRow<'a>
impl<'a> Send for StatRow<'a>
impl<'a> Sync for StatRow<'a>
impl<'a> Unpin for StatRow<'a>
impl<'a> UnwindSafe for StatRow<'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