pub struct ObjectStats {
pub objects: usize,
pub bytes: usize,
}Expand description
Count and logical size of a set of reachable Git objects.
Fields§
§objects: usizeNumber of Git objects.
bytes: usizeSum of logical object bytes.
Trait Implementations§
Source§impl Clone for ObjectStats
impl Clone for ObjectStats
Source§fn clone(&self) -> ObjectStats
fn clone(&self) -> ObjectStats
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 ObjectStats
impl Debug for ObjectStats
Source§impl Default for ObjectStats
impl Default for ObjectStats
Source§fn default() -> ObjectStats
fn default() -> ObjectStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectStats
impl<'de> Deserialize<'de> for ObjectStats
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
Auto Trait Implementations§
impl Freeze for ObjectStats
impl RefUnwindSafe for ObjectStats
impl Send for ObjectStats
impl Sync for ObjectStats
impl Unpin for ObjectStats
impl UnsafeUnpin for ObjectStats
impl UnwindSafe for ObjectStats
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