[][src]Struct libipld_pb::PbLink

pub struct PbLink {
    pub cid: Cid,
    pub name: String,
    pub size: u64,
}

A protobuf ipld link.

Fields

cid: Cid

Content identifier.

name: String

Name of the link.

size: u64

Size of the data.

Trait Implementations

impl Into<Ipld> for PbLink[src]

impl<'_> TryFrom<&'_ Ipld> for PbLink[src]

type Error = TypeError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for PbLink

impl Send for PbLink

impl Sync for PbLink

impl Unpin for PbLink

impl UnwindSafe for PbLink

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.