pub struct BlobContent {
pub oid: String,
pub kind: String,
pub size: u64,
pub content: Vec<u8>,
}Expand description
Full response from cat-file --batch: a header plus exactly size
bytes of content (only present when the header is CatFileHeader::Found).
Fields§
§oid: String§kind: String§size: u64§content: Vec<u8>Trait Implementations§
Source§impl Clone for BlobContent
impl Clone for BlobContent
Source§fn clone(&self) -> BlobContent
fn clone(&self) -> BlobContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlobContent
impl RefUnwindSafe for BlobContent
impl Send for BlobContent
impl Sync for BlobContent
impl Unpin for BlobContent
impl UnsafeUnpin for BlobContent
impl UnwindSafe for BlobContent
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