alloy_serde::quantity

Function serialize

Source
pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error>
where T: ConvertRuint, S: Serializer,
Expand description

Serializes a primitive number as a “quantity” hex string.