pub enum FieldCompat {
Identical,
Changed,
Added,
Removed,
}Expand description
Field-level compatibility result.
Variants§
Identical
Field exists in both versions with identical type and size.
Changed
Field exists in both but type or size changed (breaking).
Added
Field was added in the newer version (append-safe).
Removed
Field was removed in the newer version (breaking).
Trait Implementations§
Source§impl Clone for FieldCompat
impl Clone for FieldCompat
Source§fn clone(&self) -> FieldCompat
fn clone(&self) -> FieldCompat
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 FieldCompat
impl Debug for FieldCompat
Source§impl Display for FieldCompat
impl Display for FieldCompat
Source§impl PartialEq for FieldCompat
impl PartialEq for FieldCompat
Source§fn eq(&self, other: &FieldCompat) -> bool
fn eq(&self, other: &FieldCompat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FieldCompat
impl Eq for FieldCompat
impl StructuralPartialEq for FieldCompat
Auto Trait Implementations§
impl Freeze for FieldCompat
impl RefUnwindSafe for FieldCompat
impl Send for FieldCompat
impl Sync for FieldCompat
impl Unpin for FieldCompat
impl UnsafeUnpin for FieldCompat
impl UnwindSafe for FieldCompat
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