reth::rpc::types::serde_helpers::quantity

Function deserialize

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

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