pub struct Statistics {
pub num_objects: usize,
}
Expand description
The outcome returned by verify_integrity()
.
Fields§
§num_objects: usize
The amount of loose objects we checked.
Trait Implementations§
source§impl Clone for Statistics
impl Clone for Statistics
source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy of the value. Read more
1.0.0 · 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 Statistics
impl Debug for Statistics
source§impl<'de> Deserialize<'de> for Statistics
impl<'de> Deserialize<'de> for Statistics
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 Hash for Statistics
impl Hash for Statistics
source§impl Ord for Statistics
impl Ord for Statistics
source§fn cmp(&self, other: &Statistics) -> Ordering
fn cmp(&self, other: &Statistics) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Statistics
impl PartialEq for Statistics
source§fn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Statistics
impl PartialOrd for Statistics
source§fn partial_cmp(&self, other: &Statistics) -> Option<Ordering>
fn partial_cmp(&self, other: &Statistics) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Statistics
impl Serialize for Statistics
impl Eq for Statistics
impl StructuralEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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