alloy_serde::quantity_bool

Function serialize

Source
pub fn serialize<S: Serializer>(val: &bool, s: S) -> Result<S::Ok, S::Error>
👎Deprecated: use quantity::bool instead
Expand description

Serializes a bool via a U1 quantity.