[][src]Struct my_iot::core::persistence::reading::Reading

pub struct Reading {
    pub timestamp: DateTime<Local>,
    pub value: Value,
}

Fields

timestamp: DateTime<Local>

Timestamp when the value was actually measured. This may be earlier than a moment of sending the message.

value: Value

Attached value.

Trait Implementations

impl Clone for Reading[src]

impl Debug for Reading[src]

impl PartialEq<Reading> for Reading[src]

impl Serialize for Reading[src]

impl StructuralPartialEq for Reading[src]

Auto Trait Implementations

impl !RefUnwindSafe for Reading

impl Send for Reading

impl Sync for Reading

impl !Unpin for Reading

impl !UnwindSafe for Reading

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,