alloy_serde::quantity::opt

Function deserialize

Source
pub fn deserialize<'de, T, D>(deserializer: D) -> Result<Option<T>, D::Error>
where T: ConvertRuint, D: Deserializer<'de>,
Expand description

Deserializes an optional primitive number from a “quantity” hex string.