pub struct PackGroupStats {
pub base_name: String,
pub has_pack: bool,
pub has_index: bool,
pub has_rev: bool,
pub has_mtimes: bool,
pub object_count: Option<usize>,
pub pack_size: Option<u64>,
pub index_size: Option<u64>,
}
Expand description
Statistics about a pack group
Fields§
§base_name: String
§has_pack: bool
§has_index: bool
§has_rev: bool
§has_mtimes: bool
§object_count: Option<usize>
§pack_size: Option<u64>
§index_size: Option<u64>
Trait Implementations§
Source§impl Clone for PackGroupStats
impl Clone for PackGroupStats
Source§fn clone(&self) -> PackGroupStats
fn clone(&self) -> PackGroupStats
Returns a duplicate 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 PackGroupStats
impl Debug for PackGroupStats
Auto Trait Implementations§
impl Freeze for PackGroupStats
impl RefUnwindSafe for PackGroupStats
impl Send for PackGroupStats
impl Sync for PackGroupStats
impl Unpin for PackGroupStats
impl UnwindSafe for PackGroupStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more