Function bool_to_u8

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