alloy_serde::quantity::btreemap

Function serialize

Source
pub fn serialize<K, V, S>(
    value: &BTreeMap<K, V>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where K: ConvertRuint + Ord, V: Serialize, S: Serializer,
Expand description

Serializes a BTreeMap of primitive numbers as a “quantity” hex string.