pub struct PbNode {
pub links: Vec<PbLink>,
pub data: Option<Bytes>,
}Expand description
A protobuf ipld node.
Fields§
§links: Vec<PbLink>List of protobuf ipld links.
data: Option<Bytes>Binary data blob.
Implementations§
Trait Implementations§
Source§impl MessageWrite for PbNode
impl MessageWrite for PbNode
impl Eq for PbNode
impl StructuralPartialEq for PbNode
Auto Trait Implementations§
impl !Freeze for PbNode
impl RefUnwindSafe for PbNode
impl Send for PbNode
impl Sync for PbNode
impl Unpin for PbNode
impl UnwindSafe for PbNode
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