tendermint::serializers::option_hash

Function deserialize

Source
pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<Hash>, D::Error>
where D: Deserializer<'de>,
Expand description

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