Function bool_from_u8

Source
pub fn bool_from_u8<'de, D>(deserializer: D) -> Result<bool, D::Error>
where D: Deserializer<'de>,