Function serde_mtproto::ser::to_bytes
[−]
[src]
pub fn to_bytes<T>(value: &T) -> Result<Vec<u8>> where
T: Serialize,
Serialize the given data structure as a byte vector of binary MTProto.