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 (const: unstable) · 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 PartialEq for MavDeprecation
impl PartialEq for MavDeprecation
Source§fn eq(&self, other: &MavDeprecation) -> bool
fn eq(&self, other: &MavDeprecation) -> bool
Tests for
self and other values to be equal, and is used by ==.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