pub struct BackwardCompatibility {
pub fields: Vec<DeprecatedField>,
}Expand description
Backward compatibility helper
Fields§
§fields: Vec<DeprecatedField>Registered deprecated field mappings
Implementations§
Source§impl BackwardCompatibility
impl BackwardCompatibility
Sourcepub fn register_deprecated_field(&mut self, field: DeprecatedField)
pub fn register_deprecated_field(&mut self, field: DeprecatedField)
Register a deprecated field
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackwardCompatibility
impl RefUnwindSafe for BackwardCompatibility
impl Send for BackwardCompatibility
impl Sync for BackwardCompatibility
impl Unpin for BackwardCompatibility
impl UnwindSafe for BackwardCompatibility
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