Expand description
Encode your types.
Functionsยง
- bool
- Encodes a
bool. - duration
- Encodes a
Duration. - f32
- Encodes an
f32. - f64
- Encodes an
f64. - i8
- Encodes an
i8. - i16
- Encodes an
i16. - i32
- Encodes an
i32. - i64
- Encodes an
i64. - map
- Creates a
Mapof fields from the given iterator. - optional
- Encodes an optional
Valueusing the given encoder, if present. - sequence
- Uses the given encoder to encode a sequence of values.
- string
- Encodes a
String. - u8
- Encodes a
u8. - u16
- Encodes a
u16. - u32
- Encodes a
u32. - u64
- Encodes a
u64.