u64_from_string

Function u64_from_string 

Source
pub fn u64_from_string<'de, D>(deserializer: D) -> Result<u64, D::Error>
where D: Deserializer<'de>,
Expand description

Function to provide to serde in order to deserialize a u64 from a string. Use as follows: #[serde(deserialize_with = "u64_from_string")]