pub struct VerifyObjectRecord {
pub oid: Vec<u8>,
pub packed_type: PackedType,
pub size: u64,
pub size_in_pack: u64,
pub offset: u64,
pub depth: Option<u64>,
pub base_oid: Option<Vec<u8>>,
pub base_pack_offset: Option<u64>,
}Expand description
A decoded object header record used by verify-pack.
Fields§
§oid: Vec<u8>Object ID from the index (20 or 32 raw bytes).
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<Vec<u8>>Base object for ref-delta objects.
base_pack_offset: Option<u64>In-pack base offset for ofs-delta objects.
Trait Implementations§
Source§impl Clone for VerifyObjectRecord
impl Clone for VerifyObjectRecord
Auto 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