pub struct ObjectInfo {
pub kind: ObjectKind,
pub size: u64,
}Expand description
Kind and uncompressed size of a Git object without loading its payload.
Fields§
§kind: ObjectKindObject type after resolving any pack delta chain.
size: u64Uncompressed byte length of the object body (after the header NUL).
Trait Implementations§
Source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
impl Copy for ObjectInfo
Source§impl Debug for ObjectInfo
impl Debug for ObjectInfo
impl Eq for ObjectInfo
Source§impl PartialEq for ObjectInfo
impl PartialEq for ObjectInfo
impl StructuralPartialEq for ObjectInfo
Auto Trait Implementations§
impl Freeze for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnsafeUnpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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