Struct git_repository::easy::DetachedObject
source · [−]Expand description
A detached, self-contained object, without access to its source repository.
Use it if an ObjectRef
should be sent over thread boundaries or stored in collections.
Fields
id: ObjectId
The id of the object
kind: Kind
The kind of the object
data: Vec<u8>
The fully decoded object data
Implementations
Infuse this owned object with an easy::Handle
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DetachedObject
impl Send for DetachedObject
impl Sync for DetachedObject
impl Unpin for DetachedObject
impl UnwindSafe for DetachedObject
Blanket Implementations
Mutably borrows from an owned value. Read more