Function tendermint::serializers::option_hash::serialize
source · pub fn serialize<S>(
value: &Option<Hash>,
serializer: S
) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
Serialize from Option<Hash>
into a nullable hexstring. None is serialized as null.