pub struct RawObject {
pub kind: ObjectKind,
pub data: Vec<u8>,
pub verified: bool,
}Fields§
§kind: ObjectKind§data: Vec<u8>§verified: boolTrue if the SHA1 of (header + data) matched the expected hash.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawObject
impl RefUnwindSafe for RawObject
impl Send for RawObject
impl Sync for RawObject
impl Unpin for RawObject
impl UnsafeUnpin for RawObject
impl UnwindSafe for RawObject
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