pub struct OrphanRoot {
pub hash: Hash,
pub object_type: ObjectType,
pub entry_count: Option<usize>,
pub approx_size: u64,
}Expand description
Information about an orphaned object (blob or tree).
Fields§
§hash: HashHash of the orphaned object.
object_type: ObjectTypeType of object (blob, tree, or chunk_list).
entry_count: Option<usize>Number of entries (only for trees, None for blobs).
approx_size: u64Approximate size in bytes (on-disk size).
Trait Implementations§
Source§impl Clone for OrphanRoot
impl Clone for OrphanRoot
Source§fn clone(&self) -> OrphanRoot
fn clone(&self) -> OrphanRoot
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 OrphanRoot
impl Debug for OrphanRoot
Source§impl PartialEq for OrphanRoot
impl PartialEq for OrphanRoot
Source§impl Serialize for OrphanRoot
impl Serialize for OrphanRoot
impl Eq for OrphanRoot
impl StructuralPartialEq for OrphanRoot
Auto Trait Implementations§
impl Freeze for OrphanRoot
impl RefUnwindSafe for OrphanRoot
impl Send for OrphanRoot
impl Sync for OrphanRoot
impl Unpin for OrphanRoot
impl UnwindSafe for OrphanRoot
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