Module base64

Source
Expand description

Helper for serde_with::base64::Base64 to implement [serde_with::schemars_0_8::JsonSchemaAs] on it.

Structs§

AsBase64
Helper type to implement #[derive(Serialize, Deserialize)], as #[near_bindgen] doesn’t support #[serde(...)] attributes on method arguments
Base64
Padded
Emit padding during serialization.
Standard
The standard character set (uses + and /).
Unpadded
Do not emit padding during serialization.
UrlSafe
The URL safe character set (uses - and _).

Traits§

Alphabet
A base64 alphabet
Format
Specify how to serialize/deserialize a type