[][src]Module yew::format

Utility module to convert data to types and back by specific formats like: JSON, BSON, TOML, YAML, XML.

All types here are lazy and it's necessary to use Into and From traits to get (convert) the data.

Structs

Bincode

A representation of a Bincode data. Use it as wrapper to set a format you want to use for conversion:

Cbor

A representation of a CBOR data. Use it as wrapper to set a format you want to use for conversion:

Json

A representation of a JSON data. Use it as wrapper to set a format you want to use for conversion:

MsgPack

A representation of a MessagePack data. Use it as wrapper to set a format you want to use for conversion:

Nothing

A representation of an empty data. Nothing stored. Nothing restored.

Toml

A representation of a TOML data. Use it as wrapper to set a format you want to use for conversion:

Yaml

A representation of a YAML data. Use it as wrapper to set a format you want to use for conversion:

Enums

FormatError

Represents formatting errors.

Type Definitions

Binary

A representation of a value which can be stored and restored as a binary.

Text

A representation of a value which can be stored and restored as a text.