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.