eosio_core
pub fn bool_to_u8<S>(x: &bool, s: S) -> Result<S::Ok, S::Error> where S: Serializer,
TODO docs