[][src]Struct serde_urlencoded::Serializer

pub struct Serializer<'output, Target: 'output + UrlEncodedTarget> { /* fields omitted */ }

A serializer for the application/x-www-form-urlencoded format.

Methods

impl<'output, Target: 'output + UrlEncodedTarget> Serializer<'output, Target>
[src]

Returns a new Serializer.

Trait Implementations

impl<'output, Target> Serializer for Serializer<'output, Target> where
    Target: 'output + UrlEncodedTarget
[src]

The output type produced by this Serializer during successful serialization. Most serializers that produce text or binary output should set Ok = () and serialize into an [io::Write] or buffer contained within the Serializer instance. Serializers that build in-memory data structures may be simplified by using Ok to propagate the data structure around. Read more

The error type when some error occurs during serialization.

Type returned from [serialize_seq] for serializing the content of the sequence. Read more

Type returned from [serialize_tuple] for serializing the content of the tuple. Read more

Type returned from [serialize_tuple_struct] for serializing the content of the tuple struct. Read more

Type returned from [serialize_tuple_variant] for serializing the content of the tuple variant. Read more

Type returned from [serialize_map] for serializing the content of the map. Read more

Type returned from [serialize_struct] for serializing the content of the struct. Read more

Type returned from [serialize_struct_variant] for serializing the content of the struct variant. Read more

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Returns an error.

Serializes the inner value, ignoring the newtype name.

Returns an error.

Returns Ok.

Serializes the given value.

Serialize a sequence, given length (if any) is ignored.

Returns an error.

Returns an error.

Returns an error.

Serializes a map, given length is ignored.

Serializes a struct, given length is ignored.

Returns an error.

Serialize an i128 value. Read more

Serialize a u128 value. Read more

Collect an iterator as a sequence. Read more

Collect an iterator as a map. Read more

Serialize a string produced by an implementation of Display. Read more

Determine whether Serialize implementations should serialize in human-readable form. Read more

Auto Trait Implementations

impl<'output, Target> !Send for Serializer<'output, Target>

impl<'output, Target> !Sync for Serializer<'output, Target>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more