Skip to main content

serialize

Function serialize 

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

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