#[repr(u8)]pub enum CompatImpact {
None = 0,
Append = 1,
Migration = 2,
Breaking = 3,
}Expand description
Compatibility impact level encoded in a receipt.
Variants§
None = 0
No compatibility impact.
Append = 1
Append-only growth, backward readable.
Migration = 2
Full migration required.
Breaking = 3
Breaking change.
Implementations§
Source§impl CompatImpact
impl CompatImpact
Trait Implementations§
Source§impl Clone for CompatImpact
impl Clone for CompatImpact
Source§fn clone(&self) -> CompatImpact
fn clone(&self) -> CompatImpact
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 CompatImpact
impl Debug for CompatImpact
Source§impl PartialEq for CompatImpact
impl PartialEq for CompatImpact
Source§fn eq(&self, other: &CompatImpact) -> bool
fn eq(&self, other: &CompatImpact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompatImpact
impl Eq for CompatImpact
impl StructuralPartialEq for CompatImpact
Auto Trait Implementations§
impl Freeze for CompatImpact
impl RefUnwindSafe for CompatImpact
impl Send for CompatImpact
impl Sync for CompatImpact
impl Unpin for CompatImpact
impl UnsafeUnpin for CompatImpact
impl UnwindSafe for CompatImpact
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