pub fn option_bool_to_u8<S>( value: &Option<bool>, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer,