Struct bufkit_data::Inventory [−][src]
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
Wheter this site is flagged for automatic download.
Trait Implementations
impl Debug for Inventory[src]
impl Debug for Inventoryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Inventory[src]
impl PartialEq for Inventoryfn eq(&self, other: &Inventory) -> bool[src]
fn eq(&self, other: &Inventory) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Inventory) -> bool[src]
fn ne(&self, other: &Inventory) -> boolThis method tests for !=.
impl Eq for Inventory[src]
impl Eq for Inventory