strkey::ser
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>, Error> where T: Serialize,
Serializes the given value to a vector.