pub fn encode_to_hex<T>(object: &T, case: Case) -> Stringwhere T: Encode + ?Sized,
Encodes an object into a hex string.