pub struct Leaf {
pub entries: Vec<(ProllyKey, Cid)>,
pub extra: BTreeMap<String, Ipld>,
}Expand description
On-wire content of a Prolly leaf chunk.
Fields§
§entries: Vec<(ProllyKey, Cid)>Sorted (key, value) entries.
extra: BTreeMap<String, Ipld>Forward-compat extension map per SPEC §3.2.
Implementations§
Trait Implementations§
impl Eq for Leaf
impl StructuralPartialEq for Leaf
Auto Trait Implementations§
impl Freeze for Leaf
impl RefUnwindSafe for Leaf
impl Send for Leaf
impl Sync for Leaf
impl Unpin for Leaf
impl UnsafeUnpin for Leaf
impl UnwindSafe for Leaf
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