Struct check_graphite::graphite::DataPoint[][src]

pub struct DataPoint {
    pub val: Option<f64>,
    pub time: NaiveDateTime,
}

One of the datapoints that graphite has returned.

Graphite always returns all values in its time range, even if it hasn’t got any data for them, so the val might not exist.

Fields

val: Option<f64>time: NaiveDateTime

Trait Implementations

impl Clone for DataPoint[src]

impl Debug for DataPoint[src]

impl<'de> Deserialize<'de> for DataPoint[src]

impl Display for DataPoint[src]

impl PartialEq<DataPoint> for DataPoint[src]

impl StructuralPartialEq for DataPoint[src]

Auto Trait Implementations

impl RefUnwindSafe for DataPoint

impl Send for DataPoint

impl Sync for DataPoint

impl Unpin for DataPoint

impl UnwindSafe for DataPoint

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.