Struct sube::Value[][src]

pub struct Value<'a> { /* fields omitted */ }
Expand description

A container for SCALE encoded data that can serialize types directly with the help of a type registry and without using an intermediate representation.

Implementations

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

If possible give a hint of expected size of the encoding. Read more

Convert self to a slice and then invoke the given closure with it.

Convert self to a slice and append it to the destination.

Convert self to an owned vector.

Calculates the encoded size. Read more

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

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.

Should always be Self

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca) Read more

Encode the hex strict representing self into the result. Upper case letters are used (e.g. F9B4CA) Read more

Converts the given value to a String. 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.