pub fn from_yes_no<'de, D: Deserializer<'de>>( deserializer: D, ) -> Result<bool, D::Error>
Deserializes a "Y" or "N" into a bool
"Y"
"N"
bool
If the type cannot be parsed into a Y or N string