pub struct DeprecatedVersion<T> { /* private fields */ }Expand description
This type is used in the Version trait but should not be manually used.
Trait Implementations§
Source§impl<'de, T: Deprecable> Deserialize<'de> for DeprecatedVersion<T>
impl<'de, T: Deprecable> Deserialize<'de> for DeprecatedVersion<T>
Source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: Deprecable> From<&Deprecated<T>> for DeprecatedVersion<T>
impl<T: Deprecable> From<&Deprecated<T>> for DeprecatedVersion<T>
Source§fn from(_value: &Deprecated<T>) -> Self
fn from(_value: &Deprecated<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Deprecable> From<Deprecated<T>> for DeprecatedVersion<T>
impl<T: Deprecable> From<Deprecated<T>> for DeprecatedVersion<T>
Source§fn from(_value: Deprecated<T>) -> Self
fn from(_value: Deprecated<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Deprecable> Serialize for DeprecatedVersion<T>
impl<T: Deprecable> Serialize for DeprecatedVersion<T>
Source§impl<T: Deprecable> TryFrom<DeprecatedVersion<T>> for Deprecated<T>
impl<T: Deprecable> TryFrom<DeprecatedVersion<T>> for Deprecated<T>
Source§type Error = UnversionizeError
type Error = UnversionizeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<T> Freeze for DeprecatedVersion<T>
impl<T> RefUnwindSafe for DeprecatedVersion<T>where
T: RefUnwindSafe,
impl<T> Send for DeprecatedVersion<T>where
T: Send,
impl<T> Sync for DeprecatedVersion<T>where
T: Sync,
impl<T> Unpin for DeprecatedVersion<T>where
T: Unpin,
impl<T> UnwindSafe for DeprecatedVersion<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more