pub struct Checked {
pub conformance: Conformance,
pub kind: Option<(MetricKind, Source)>,
pub unit: Option<(String, Source)>,
pub reading: Option<Reading>,
}Expand description
One sample, read (§2.5, §2.6).
Fields§
§conformance: Conformance§kind: Option<(MetricKind, Source)>The member’s kind as this sample gives it, or None: unobservable
or not this profile’s (§2.5).
unit: Option<(String, Source)>The member’s unit as this sample gives it, or None: unknown,
never dimensionless (§2.5).
reading: Option<Reading>The sample’s value, when it conforms.
Trait Implementations§
impl StructuralPartialEq for Checked
Auto Trait Implementations§
impl Forget for Checked
impl Freeze for Checkedwhere
*const u8 is !null: Freeze,
PhantomData<Problem>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<f64>: Freeze,
PhantomData<u64>: Freeze,
impl Move for Checked
impl RefUnwindSafe for Checked
impl Send for Checkedwhere
RawVecInner: Send,
impl Sync for Checkedwhere
RawVecInner: Sync,
impl Unpin for Checked
impl UnsafeUnpin for Checkedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Problem>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
impl UnwindSafe for Checkedwhere
RawVecInner: UnwindSafe,
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> 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