Function to_vec

Source
pub fn to_vec<T>(data: &T) -> StdResult<Vec<u8>>
where T: Serialize + ?Sized,
👎Deprecated: use to_json_vec instead