tendermint::hash::allow_empty

Function deserialize

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

Deserialize Hash from a string, allowing for empty hashes.