pub struct GitObject {
pub kind: GitObjectKind,
pub bytes: Vec<u8>,
}Expand description
Raw Git object payload read from an object database.
Fields§
§kind: GitObjectKind§bytes: Vec<u8>Trait Implementations§
impl Eq for GitObject
impl StructuralPartialEq for GitObject
Auto Trait Implementations§
impl Forget for GitObject
impl Freeze for GitObject
impl Move for GitObject
impl RefUnwindSafe for GitObject
impl Send for GitObjectwhere
RawVecInner: Send,
impl Sync for GitObjectwhere
RawVecInner: Sync,
impl Unpin for GitObject
impl UnsafeUnpin for GitObject
impl UnwindSafe for GitObjectwhere
RawVecInner: UnwindSafe,
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