Function serde_cbor::ser::to_vec_packed_sd
[−]
[src]
pub fn to_vec_packed_sd<T>(value: &T) -> Result<Vec<u8>> where
T: Serialize,
Serializes a value without names to a vector and adds a CBOR self-describe tag.
Struct fields and enum variants are identified by their numeric indices rather than names to save space.