VersionizeOwned

Trait VersionizeOwned 

Source
pub trait VersionizeOwned {
    type VersionedOwned: Serialize + DeserializeOwned;

    // Required method
    fn versionize_owned(self) -> Self::VersionedOwned;
}

Required Associated Types§

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl VersionizeOwned for &str

Source§

impl VersionizeOwned for bool

Source§

impl VersionizeOwned for char

Source§

impl VersionizeOwned for f32

Source§

impl VersionizeOwned for f64

Source§

impl VersionizeOwned for i8

Source§

impl VersionizeOwned for i16

Source§

impl VersionizeOwned for i32

Source§

impl VersionizeOwned for i64

Source§

impl VersionizeOwned for i128

Source§

impl VersionizeOwned for u8

Source§

impl VersionizeOwned for u16

Source§

impl VersionizeOwned for u32

Source§

impl VersionizeOwned for u64

Source§

impl VersionizeOwned for u128

Source§

impl VersionizeOwned for ()

Source§

impl VersionizeOwned for usize

Source§

impl VersionizeOwned for String

Source§

impl VersionizeOwned for NonZero<u32>

Source§

impl VersionizeOwned for NonZero<usize>

Source§

impl<K: VersionizeOwned, V: VersionizeOwned> VersionizeOwned for BTreeMap<K, V>

Source§

impl<K: VersionizeOwned, V: VersionizeOwned> VersionizeOwned for HashMap<K, V>

Source§

impl<T> VersionizeOwned for PhantomData<T>

Source§

impl<T: VersionizeOwned + Clone> VersionizeOwned for Arc<T>

Source§

impl<T: VersionizeOwned + Clone> VersionizeOwned for ABox<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for Option<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for Box<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for BTreeSet<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for Wrapping<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for HashSet<T>

Source§

impl<T: VersionizeOwned> VersionizeOwned for Complex<T>

Source§

impl<T: VersionizeOwned, U: VersionizeOwned> VersionizeOwned for (T, U)

Source§

impl<T: VersionizeOwned, U: VersionizeOwned, V: VersionizeOwned> VersionizeOwned for (T, U, V)

Source§

impl<T: VersionizeVec + Clone> VersionizeOwned for &[T]

Source§

impl<T: VersionizeVec + Clone> VersionizeOwned for Box<[T]>

Source§

impl<T: VersionizeVec + Clone> VersionizeOwned for ABox<[T]>

Source§

impl<T: VersionizeVec + Clone> VersionizeOwned for AVec<T>

Source§

impl<T: VersionizeVec> VersionizeOwned for Vec<T>

Source§

impl<const N: usize, T: VersionizeVec + Clone> VersionizeOwned for [T; N]

Implementors§