pub trait VersionizeOwned {
type VersionedOwned: Serialize + DeserializeOwned;
// Required method
fn versionize_owned(self) -> Self::VersionedOwned;
}Required Associated Types§
Required Methods§
Sourcefn versionize_owned(self) -> Self::VersionedOwned
fn versionize_owned(self) -> Self::VersionedOwned
Wraps the object into a versioned enum with a variant for each version. This will clone the underlying types.