tendermint::serializers

Module option_hash

Source
Expand description

Option<Hash> serialization with validation

Functionsยง

  • Deserialize a nullable hexstring into Option<Hash>. A null value is deserialized as None.
  • Serialize from Option<Hash> into a nullable hexstring. None is serialized as null.