pub struct Serializable<V>(_);
Expand description

A wrapper around Valuable types that implements Serialize.

Implementations

Creates a new Serializable.

Returns a reference to the underlying value.

Returns a mutable reference to the underlying value.

Unwraps this Serializable, returning the underlying value.

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Converts self into a Value instance. Read more

Calls the relevant method on Visit to extract data from self. 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.

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.