[][src]Struct bufkit_data::Inventory

pub struct Inventory {
    pub first: NaiveDateTime,
    pub last: NaiveDateTime,
    pub missing: Vec<(NaiveDateTime, NaiveDateTime)>,
    pub auto_download: bool,
}

Inventory lists first & last initialization times of the models in the archive for a site & model. It also contains a list of model initialization times that are missing between the first and last.

Fields

first: NaiveDateTime

The earliest model run in the archive.

last: NaiveDateTime

The last model run in the archive.

missing: Vec<(NaiveDateTime, NaiveDateTime)>

A list of start and end times for missing model runs.

auto_download: bool

Whether this site is flagged for automatic download.

Trait Implementations

impl Eq for Inventory[src]

impl PartialEq<Inventory> for Inventory[src]

impl Debug for Inventory[src]

Auto Trait Implementations

impl Send for Inventory

impl Sync for Inventory

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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