pub struct Internal {
pub boundaries: Vec<ProllyKey>,
pub children: Vec<Cid>,
pub extra: BTreeMap<String, Ipld>,
}Expand description
On-wire content of a Prolly internal (non-leaf) chunk.
Fields§
§boundaries: Vec<ProllyKey>children.len() - 1 separator keys, strictly ascending.
boundaries[i] is the inclusive lower bound of child i + 1.
children: Vec<Cid>boundaries.len() + 1 child-chunk CIDs in order.
extra: BTreeMap<String, Ipld>Forward-compat extension map per SPEC §3.2.
Implementations§
Trait Implementations§
impl Eq for Internal
impl StructuralPartialEq for Internal
Auto Trait Implementations§
impl Freeze for Internal
impl RefUnwindSafe for Internal
impl Send for Internal
impl Sync for Internal
impl Unpin for Internal
impl UnsafeUnpin for Internal
impl UnwindSafe for Internal
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