zebra_rpc::methods::opthex

Function serialize

source
pub fn serialize<S, T>(
    data: &Option<T>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer, T: ToHex,