pub enum IpldIndex<'a> {
    List(usize),
    Map(String),
    MapRef(&'a str),
}
Expand description

An index into ipld

Variants

List(usize)

An index into an ipld list.

Map(String)

An owned index into an ipld map.

MapRef(&'a str)

An index into an ipld map.

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Scrape the references from an impl Read. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.