Crate serdapt_base64

Source
Expand description

§Overview

Base64 adapter for #[serde(with = ...)]. See serdapt for more information on how to use such adapters.

The documentation for Base64 and Base64Array provides examples.

§Contribute

All contributions shall be licensed under the 0BSD license.

Structs§

Alphabet
Alphabet definition
Base64
Adapter to serialize bytes as a base64 string
Base64Array
Adapter to serialize a byte array as a base64 string
Standard
Adapter argument to use the standard base64 alphabet with required padding
UrlSafe
Adapter argument to use the URL-safe base64 alphabet with required padding

Enums§

PaddingStrategy
Ways to handle padding

Traits§

AlphabetTag
Types representing a base64 alphabet

Type Aliases§

StdBase64
Adapter to serialize bytes as a base64 string using the standard alphabet
StdBase64Array
Adapter to serialize a byte array as a base64 string using the standard alphabet