serde_xdr
pub fn to_bytes<T>(value: &T) -> Result<Vec<u8>, CompatSerializationError> where T: Serialize,
Serialize data into a vector of bytes.
Serializes a generic data type into a new instance of Vec<u8>.
Vec<u8>