pub fn deserialize<'de, D>(de: D) -> Result<bool, D::Error>where
D: Deserializer<'de>,Expand description
Convert an integer flag to a boolean. returns true if value is more than 0, otherwise false
pub fn deserialize<'de, D>(de: D) -> Result<bool, D::Error>where
D: Deserializer<'de>,Convert an integer flag to a boolean. returns true if value is more than 0, otherwise false