pub struct ObjectKindCounts {
pub commits: u64,
pub trees: u64,
pub blobs: u64,
pub tags: u64,
}Expand description
Per-type object counts for a pack, tallied while it is indexed.
Fields§
§commits: u64Commit objects.
trees: u64Tree objects.
blobs: u64Blob objects.
Annotated tag objects.
Implementations§
Trait Implementations§
Source§impl AddAssign for ObjectKindCounts
impl AddAssign for ObjectKindCounts
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moreSource§impl Clone for ObjectKindCounts
impl Clone for ObjectKindCounts
impl Copy for ObjectKindCounts
Source§impl Debug for ObjectKindCounts
impl Debug for ObjectKindCounts
Source§impl Default for ObjectKindCounts
impl Default for ObjectKindCounts
impl Eq for ObjectKindCounts
Source§impl FromIterator<ObjectKind> for ObjectKindCounts
impl FromIterator<ObjectKind> for ObjectKindCounts
Source§fn from_iter<I: IntoIterator<Item = ObjectKind>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = ObjectKind>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for ObjectKindCounts
impl PartialEq for ObjectKindCounts
impl StructuralPartialEq for ObjectKindCounts
Auto Trait Implementations§
impl Freeze for ObjectKindCounts
impl RefUnwindSafe for ObjectKindCounts
impl Send for ObjectKindCounts
impl Sync for ObjectKindCounts
impl Unpin for ObjectKindCounts
impl UnsafeUnpin for ObjectKindCounts
impl UnwindSafe for ObjectKindCounts
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