pub struct VerifyObjectRecord {
pub oid: ObjectId,
pub packed_type: PackedType,
pub size: u64,
pub size_in_pack: u64,
pub offset: u64,
pub depth: Option<u64>,
pub base_oid: Option<ObjectId>,
}Expand description
A decoded object header record used by verify-pack.
Fields§
§oid: ObjectIdObject ID from the index.
packed_type: PackedTypeType from the pack stream header.
size: u64Uncompressed object size from the pack header.
size_in_pack: u64Total bytes in pack occupied by this object slot.
offset: u64Offset in pack file.
depth: Option<u64>Delta chain depth, if deltified.
base_oid: Option<ObjectId>Base object for ref-delta objects.
Trait Implementations§
Source§impl Clone for VerifyObjectRecord
impl Clone for VerifyObjectRecord
Source§fn clone(&self) -> VerifyObjectRecord
fn clone(&self) -> VerifyObjectRecord
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 moreAuto Trait Implementations§
impl Freeze for VerifyObjectRecord
impl RefUnwindSafe for VerifyObjectRecord
impl Send for VerifyObjectRecord
impl Sync for VerifyObjectRecord
impl Unpin for VerifyObjectRecord
impl UnsafeUnpin for VerifyObjectRecord
impl UnwindSafe for VerifyObjectRecord
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