pub struct RawReading {
pub text: String,
pub value: Option<f64>,
pub meaning: &'static str,
}Expand description
A provider’s own limit line, kept as it was shown (providers say % used or % left).
Fields§
§text: StringThe line, trimmed and cut to 160 characters.
value: Option<f64>§meaning: &'static strused | left | unknown
Trait Implementations§
Source§impl Clone for RawReading
impl Clone for RawReading
Source§impl Debug for RawReading
impl Debug for RawReading
Source§impl PartialEq for RawReading
impl PartialEq for RawReading
Source§impl Serialize for RawReading
impl Serialize for RawReading
impl StructuralPartialEq for RawReading
Auto Trait Implementations§
impl Freeze for RawReading
impl RefUnwindSafe for RawReading
impl Send for RawReading
impl Sync for RawReading
impl Unpin for RawReading
impl UnsafeUnpin for RawReading
impl UnwindSafe for RawReading
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more