Modulesยง
- encoding_
serializer ๐ - Contains implementation details for
EncodingSerializer.
Structsยง
- B16Encoding
- Hex BytesEncoding.
- B64Encoding
- Base64 BytesEncoding
- Byte
BufDeserializer - A Deserializer owning a
Vec<u8>that always calls serde::de::Visitor::visit_byte_buf. - Bytes
Wrapper - Wraps a type
Tthat uses the byte array serde data type for serialization so that the serde string data type is used instead, according to BytesEncodingO::Encoding. - Change
Visitor Type - Changes the
VisitorTypeof the givenOptionstoVT. - Encoded
Bytes ๐Visitor - Extracts a
O::Valuefrom the given Deserializer by extracting a string, decoding this to a byte array according to BytesEncodingO::Encoding, and finally passing this byte array to the Deserialize implementation ofT.
Enumsยง
- Visitor
Type - Enumerates the ways in which a sequence of bytes may be visited during deserialization.
Constantsยง
- VT_
BORROWED_ ๐BYTE_ ARRAY - VT_
BYTE_ ๐SEQUENCE - VT_
OWNED_ ๐BYTE_ ARRAY - VT_
TRANSIENT_ ๐BYTE_ ARRAY
Traitsยง
- Bytes
Encoding - Trait for specifying the encoding of bytes as strings, like hex or base64.
- Options
- Determines how exactly
BytesWrappershould wrap the underlying type.
Type Aliasesยง
- B16
- Wrapper around
Timplementing (de)serialization using hex-encoding. - B64
- Wrapper around
Timplementing (de)serialization using base64ct::Base64. - B64UU
- Wrapper around
Timplementing (de)serialization using base64ct::Base64UrlUnpadded.