pub fn from_u64_or_hex<'de, D>(deserializer: D) -> Result<U64, D::Error>where
    D: Deserializer<'de>,
Expand description

Deserializes the input into a U64, accepting both 0x-prefixed hex and decimal strings with arbitrary precision, defined by serde_json’s Number.