pub struct SerializerState<'a> { /* private fields */ }
Expand description

The current state of the serializer.

During serializer the SerializerState acts as a communciation device between the serializable types as the serializer.

Implementations

Returns an extension value.

Returns a mutable extension value.

Returns the current recursion depth.

Returns the topmost descriptor.

This descriptor always points to a container as the descriptor of a value itself will always be passed to the callback explicitly.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. 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.