Skip to main content

validate_non_zero

Function validate_non_zero 

Source
pub fn validate_non_zero<'de, D>(d: D) -> Result<Uint, D::Error>
where D: Deserializer<'de>,
Expand description

Deserialize and validate that the value is non-zero