Crate serdapt_base64

Source
Expand description

§Overview

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

§Contribute

All contributions shall be licensed under the 0BSD license.

Structs§

Base64
Adapter to serialize bytes as a base64 string
Base64Array
Adapter to serialize a byte array as a base64 string
Canonical
Adapter argument to require canonical padding when decoding
Ignore
Adapter argument to ignore padding when decoding
NoPadding
Adapter argument to require no padding when decoding
Standard
Adapter argument to use the standard base64 alphabet
UrlSafe
Adapter argument to use the URL-safe base64 alphabet

Enums§

ReadPaddingStrategy
Ways to handle padding when decoding

Traits§

Alphabet
Defines a base64 alphabet
ReadPadding
Defines how to handle padding when decoding

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