Struct bufkit_data::Inventory
source · pub struct Inventory {
pub first: NaiveDateTime,
pub last: NaiveDateTime,
pub missing: Vec<(NaiveDateTime, NaiveDateTime)>,
pub auto_download: bool,
}Expand description
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: NaiveDateTimeThe earliest model run in the archive.
last: NaiveDateTimeThe last model run in the archive.
missing: Vec<(NaiveDateTime, NaiveDateTime)>A list of start and end times for missing model runs.
auto_download: boolWhether this site is flagged for automatic download.
Trait Implementations
impl Eq for Inventory
impl StructuralEq for Inventory
impl StructuralPartialEq for Inventory
Auto Trait Implementations
impl RefUnwindSafe for Inventory
impl Send for Inventory
impl Sync for Inventory
impl Unpin for Inventory
impl UnwindSafe for Inventory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more