tendermint::serializers

Module optional

Expand description

Serialize/deserialize Option<T> type where T has a serializer/deserializer. Deserialize to None if the received value equals the Default value. Serialize None as Some with the Default value for T.

Functionsยง

deserialize
Deserialize Option<T>
serialize
Serialize Option<T>