pub struct Reading {
pub value: Measure,
pub timestamp_ms: Option<i64>,
pub epoch: Option<String>,
}Expand description
What a conforming sample says: its value, its measurement time (a
Point’s timestamp) and its in-band epoch.
Fields§
§value: Measure§timestamp_ms: Option<i64>§epoch: Option<String>Trait Implementations§
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Readingwhere
*const u8 is !null: Freeze,
PhantomData<f64>: Freeze,
PhantomData<u64>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Reading
impl RefUnwindSafe for Reading
impl Send for Readingwhere
RawVecInner: Send,
impl Sync for Readingwhere
RawVecInner: Sync,
impl Unpin for Reading
impl UnsafeUnpin for Readingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Readingwhere
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