pub struct ArtifactTallies {
pub documents: usize,
pub artifacts: usize,
pub current: usize,
pub stale: usize,
pub missing: usize,
pub present: usize,
}Expand description
How many of each, so a caller needs no arithmetic of its own.
Fields§
§documents: usizeDocuments in the manifest.
artifacts: usizeFiles in the manifest, after any filter.
current: usizeHashes that match.
stale: usizeHashes that do not.
missing: usizeFiles the manifest names and the tree lacks.
present: usizeFiles the manifest records no hash for.
Trait Implementations§
Source§impl Clone for ArtifactTallies
impl Clone for ArtifactTallies
Source§fn clone(&self) -> ArtifactTallies
fn clone(&self) -> ArtifactTallies
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 moreSource§impl Debug for ArtifactTallies
impl Debug for ArtifactTallies
Source§impl<'de> Deserialize<'de> for ArtifactTallies
impl<'de> Deserialize<'de> for ArtifactTallies
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
Source§impl JsonSchema for ArtifactTallies
impl JsonSchema for ArtifactTallies
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ArtifactTallies
impl RefUnwindSafe for ArtifactTallies
impl Send for ArtifactTallies
impl Sync for ArtifactTallies
impl Unpin for ArtifactTallies
impl UnsafeUnpin for ArtifactTallies
impl UnwindSafe for ArtifactTallies
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