pub struct Deprecation {
pub tier: DeprecationTier,
pub message: Option<String>,
}Fields§
§tier: DeprecationTier§message: Option<String>Trait Implementations§
Source§impl Clone for Deprecation
impl Clone for Deprecation
Source§impl Debug for Deprecation
impl Debug for Deprecation
Source§impl<'de> Deserialize<'de> for Deprecation
impl<'de> Deserialize<'de> for Deprecation
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
impl Eq for Deprecation
Source§impl PartialEq for Deprecation
impl PartialEq for Deprecation
Source§impl Serialize for Deprecation
impl Serialize for Deprecation
impl StructuralPartialEq for Deprecation
Auto Trait Implementations§
impl Forget for Deprecation
impl Freeze for Deprecation
impl Move for Deprecation
impl RefUnwindSafe for Deprecation
impl Send for Deprecation
impl Sync for Deprecation
impl Unpin for Deprecation
impl UnsafeUnpin for Deprecation
impl UnwindSafe for Deprecation
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