pub struct PackVerifyStat {
pub oid: ObjectId,
pub object_type: ObjectType,
pub size: u64,
pub size_in_pack: u64,
pub offset: u64,
pub delta_depth: u32,
pub base_oid: Option<ObjectId>,
}Expand description
Per-object statistics for one entry of a verified pack, in the shape
git verify-pack -v reports.
Fields§
§oid: ObjectIdResolved object id.
object_type: ObjectTypeResolved object type (the delta’s result type, not ofs-delta).
size: u64Resolved (inflated) object size in bytes.
size_in_pack: u64Bytes this object occupies in the pack: the offset delta to the next object, or to the trailing checksum for the last object.
offset: u64In-pack byte offset where this object’s entry begins.
delta_depth: u32Delta chain depth: 0 for undeltified objects, base-depth + 1 otherwise.
base_oid: Option<ObjectId>For delta objects, the id of the immediate base object (which may
itself be a delta). None for undeltified objects.
Trait Implementations§
Source§impl Clone for PackVerifyStat
impl Clone for PackVerifyStat
Source§fn clone(&self) -> PackVerifyStat
fn clone(&self) -> PackVerifyStat
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 PackVerifyStat
impl Debug for PackVerifyStat
impl Eq for PackVerifyStat
Source§impl PartialEq for PackVerifyStat
impl PartialEq for PackVerifyStat
Source§fn eq(&self, other: &PackVerifyStat) -> bool
fn eq(&self, other: &PackVerifyStat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackVerifyStat
Auto Trait Implementations§
impl Freeze for PackVerifyStat
impl RefUnwindSafe for PackVerifyStat
impl Send for PackVerifyStat
impl Sync for PackVerifyStat
impl Unpin for PackVerifyStat
impl UnsafeUnpin for PackVerifyStat
impl UnwindSafe for PackVerifyStat
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