pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<bool>, D::Error>where D: Deserializer<'de>,
Deserializes a string representation to an optional boolean value
Converts “1” to true and “0” to false
deserializer
A Result containing the deserialized optional boolean value or an error