pub struct Reconstructed {
pub hash: Hash,
pub bytes: Vec<u8>,
pub object: Object,
pub extras: Vec<(Hash, Vec<u8>)>,
}Expand description
A reconstructed mkit object: its serialized v1 bytes and BLAKE3
hash. extras carries the chunk blobs a large flattened blob
re-chunks into (empty for everything else).
Fields§
§hash: Hash§bytes: Vec<u8>§object: Object§extras: Vec<(Hash, Vec<u8>)>Trait Implementations§
Source§impl Clone for Reconstructed
impl Clone for Reconstructed
Source§fn clone(&self) -> Reconstructed
fn clone(&self) -> Reconstructed
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 moreSource§impl Debug for Reconstructed
impl Debug for Reconstructed
impl Eq for Reconstructed
Source§impl PartialEq for Reconstructed
impl PartialEq for Reconstructed
Source§fn eq(&self, other: &Reconstructed) -> bool
fn eq(&self, other: &Reconstructed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Reconstructed
Auto Trait Implementations§
impl Freeze for Reconstructed
impl RefUnwindSafe for Reconstructed
impl Send for Reconstructed
impl Sync for Reconstructed
impl Unpin for Reconstructed
impl UnsafeUnpin for Reconstructed
impl UnwindSafe for Reconstructed
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