pub struct Object {
pub kind: ObjectKind,
pub data: Vec<u8>,
}Expand description
A decompressed, header-stripped Git object.
Fields§
§kind: ObjectKindThe type of this object.
data: Vec<u8>Raw byte content (everything after the NUL in the header).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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