pub struct MavDeprecation {
pub since: String,
pub replaced_by: Option<String>,
pub deprecation_type: MavDeprecationType,
pub note: Option<String>,
}Fields§
§since: String§replaced_by: Option<String>§deprecation_type: MavDeprecationType§note: Option<String>Implementations§
Source§impl MavDeprecation
impl MavDeprecation
pub fn emit_tokens(&self) -> TokenStream
Trait Implementations§
Source§impl Clone for MavDeprecation
impl Clone for MavDeprecation
Source§fn clone(&self) -> MavDeprecation
fn clone(&self) -> MavDeprecation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MavDeprecation
impl Debug for MavDeprecation
Source§impl Default for MavDeprecation
impl Default for MavDeprecation
Source§fn default() -> MavDeprecation
fn default() -> MavDeprecation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MavDeprecation
impl<'de> Deserialize<'de> for MavDeprecation
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 PartialEq for MavDeprecation
impl PartialEq for MavDeprecation
Source§impl Serialize for MavDeprecation
impl Serialize for MavDeprecation
impl Eq for MavDeprecation
impl StructuralPartialEq for MavDeprecation
Auto Trait Implementations§
impl Freeze for MavDeprecation
impl RefUnwindSafe for MavDeprecation
impl Send for MavDeprecation
impl Sync for MavDeprecation
impl Unpin for MavDeprecation
impl UnsafeUnpin for MavDeprecation
impl UnwindSafe for MavDeprecation
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