pub enum AdmissionBasis {
SchemaProved,
DataBacked {
rows_validated: u64,
},
Migrated {
rows_scanned: u64,
rows_rewritten: u64,
},
}Expand description
Why an update was admitted. Two grounds, never conflated in a report.
Variants§
SchemaProved
The schemas prove Valid(old) ⊆ Valid(new). No row was read.
DataBacked
The schemas do not prove it; every live row of the type was validated against the candidate instead. True of these rows, not of the type.
Migrated
The rows did not satisfy the candidate, so they were changed to: the declared steps were applied to every live row and the result validated against the candidate before anything was written.
Trait Implementations§
Source§impl Clone for AdmissionBasis
impl Clone for AdmissionBasis
impl Copy for AdmissionBasis
Source§impl Debug for AdmissionBasis
impl Debug for AdmissionBasis
impl Eq for AdmissionBasis
Source§impl PartialEq for AdmissionBasis
impl PartialEq for AdmissionBasis
impl StructuralPartialEq for AdmissionBasis
Auto Trait Implementations§
impl Freeze for AdmissionBasis
impl RefUnwindSafe for AdmissionBasis
impl Send for AdmissionBasis
impl Sync for AdmissionBasis
impl Unpin for AdmissionBasis
impl UnsafeUnpin for AdmissionBasis
impl UnwindSafe for AdmissionBasis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.