#[non_exhaustive]pub struct CatalogCounts {
pub motors: usize,
pub motors_flying: usize,
pub files: usize,
pub left_out: usize,
pub files_passing: usize,
pub motors_passing: usize,
}Expand description
How many motors and files a catalog holds, and how many of them pass their check: the figures
cargo xtask motor-catalog and hpr motors update print for the bundled catalog.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.motors: usizeEvery motor listed.
motors_flying: usizeThe motors with a file that reads, which fly.
files: usizeThe files indexed.
left_out: usizeThe snapshot’s files the index leaves out, each with its reason (Catalog::left_out).
files_passing: usizeThe files whose CurveCheck::passes.
motors_passing: usizeThe motors with at least one passing file.
Trait Implementations§
Source§impl Clone for CatalogCounts
impl Clone for CatalogCounts
Source§fn clone(&self) -> CatalogCounts
fn clone(&self) -> CatalogCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CatalogCounts
Source§impl Debug for CatalogCounts
impl Debug for CatalogCounts
Source§impl<'de> Deserialize<'de> for CatalogCounts
impl<'de> Deserialize<'de> for CatalogCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CatalogCounts
Source§impl PartialEq for CatalogCounts
impl PartialEq for CatalogCounts
Source§fn eq(&self, other: &CatalogCounts) -> bool
fn eq(&self, other: &CatalogCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CatalogCounts
impl Serialize for CatalogCounts
impl StructuralPartialEq for CatalogCounts
Auto Trait Implementations§
impl Freeze for CatalogCounts
impl RefUnwindSafe for CatalogCounts
impl Send for CatalogCounts
impl Sync for CatalogCounts
impl Unpin for CatalogCounts
impl UnsafeUnpin for CatalogCounts
impl UnwindSafe for CatalogCounts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more