Function common_primitives::utils::as_hex_option::serialize
source · pub fn serialize<S>(
bytes: &Option<Vec<u8>>,
serializer: S
) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
Serializes a Vec<u8>
into a hexadecimal string