Expand description
Deserialisation transformers (json, protobuf, etc.) and associated logic.
Modules§
- error
- Deserialisation error variants.
Structs§
- DeJson
- JSON deserialiser.
- DeProtobuf
- Protobuf deserialiser.
Traits§
- Deserialiser
- Trait for types that can deserialise input payload data (eg/ strings, bytes, etc.) into structured Rust types.
Functions§
- datetime_
utc_ from_ epoch_ duration - Determine the
DateTime<Utc>from the providedDurationsince the epoch. - de_str
- Deserialise a
Stringas the desired type. - de_
str_ f64_ epoch_ ms_ as_ datetime_ utc - Deserialise a &str “f64” milliseconds value as
DateTime<Utc>. - de_
str_ f64_ epoch_ s_ as_ datetime_ utc - Deserialise a &str “f64” seconds value as
DateTime<Utc>. - de_
str_ u64_ epoch_ ms_ as_ datetime_ utc - Deserialise a &str “u64” milliseconds value as
DateTime<Utc>. - de_
u64_ epoch_ ms_ as_ datetime_ utc - Deserialise a
u64milliseconds value asDateTime<Utc>. - extract_
next - Assists deserialisation of sequences by attempting to extract & parse the next element in the provided sequence.