usetraits::AutoEncoder;/// Represents some encrypted packed data
////// Includes nonce, vault iv and blob. This abstraction
/// is important to be able to send encrypted records across
/// a network.
#[derive(Serialize, Deserialize)]pubstructPackedData{pubnonce:Vec<u8>,
pubiv:Vec<u8>,
pubdata:Vec<u8>,
}implAutoEncoder forPackedData{}