Function reth::core::rpc::types::serde_helpers::quantity_bool::serialize

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

Serializes a bool via a U1 quantity.