Function native_model::encode

source ·
pub fn encode<T: Model>(model: &T) -> Result<Vec<u8>>
Expand description

Allows to encode a native_model into a Vec<u8>.

See examples: