bitcoincore_rpc_json::serde_hex::opt
pub fn serialize<S: Serializer>( b: &Option<Vec<u8>>, s: S) -> Result<S::Ok, S::Error>