pub fn serialize<S: Serializer>(val: &bool, s: S) -> Result<S::Ok, S::Error>
quantity::bool
Serializes a bool via a U1 quantity.
bool