Struct ruma::serde::urlencoded::ser::MapSerializer[][src]

pub struct MapSerializer<'input, 'output, Target> where
    Target: Target, 
{ /* fields omitted */ }
Expand description

Map serializer.

Trait Implementations

Must match the Ok type of our Serializer.

Must match the Error type of our Serializer.

pub fn serialize_entry<K, V>(&mut self, key: &K, value: &V) -> Result<(), Error> where
    K: Serialize + ?Sized,
    V: Serialize + ?Sized

Serialize a map entry consisting of a key and a value. Read more

Serialize a map key. Read more

Serialize a map value. Read more

Finish serializing a map.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more