pub struct ShowIndexEntry {
pub oid: ObjectId,
pub offset: u64,
pub crc32: Option<u32>,
}Expand description
A single entry produced by show-index, with an optional CRC32.
Version-1 index files do not store CRC32 values; crc32 is None for
those entries. Version-2 index files always carry a CRC32.
Fields§
§oid: ObjectIdObject identifier.
offset: u64Byte offset of the object in the corresponding .pack file.
crc32: Option<u32>CRC32 of the compressed object data (v2 only).
Trait Implementations§
Source§impl Clone for ShowIndexEntry
impl Clone for ShowIndexEntry
Source§fn clone(&self) -> ShowIndexEntry
fn clone(&self) -> ShowIndexEntry
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 ShowIndexEntry
impl RefUnwindSafe for ShowIndexEntry
impl Send for ShowIndexEntry
impl Sync for ShowIndexEntry
impl Unpin for ShowIndexEntry
impl UnsafeUnpin for ShowIndexEntry
impl UnwindSafe for ShowIndexEntry
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