Struct serializers::Builder[][src]

pub struct Builder { /* fields omitted */ }

The struct responsible for gathering keys and values for the JSON.

This is the struct you interact with through the serialize_into method on the Serializer trait.

Methods

impl Builder
[src]

Add a single key-value pair to the JSON.

Add an object to the JSON. The associated value will be serialized using the given serializer.

Add an array to the JSON. Each item in the iterable will be serialized using the given serializer.

Trait Implementations

impl Debug for Builder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder