pub enum MigrationChange {
NoChange,
Addition,
Breaking,
}Expand description
How one migration changed the schema and synced rows (§18.1).
Variants§
NoChange
No synced definition or row changed and no table disappeared. Local-only and view changes must not be mistaken for a synced schema addition (§18.1).
Addition
Only synced tables or their columns were added.
Breaking
A table disappeared, a synced definition changed beyond an addition, or statements changed rows of synced tables.
Trait Implementations§
Source§impl Clone for MigrationChange
impl Clone for MigrationChange
Source§fn clone(&self) -> MigrationChange
fn clone(&self) -> MigrationChange
Returns a duplicate of the value. Read more
1.0.0 · 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 MigrationChange
impl Debug for MigrationChange
Source§impl PartialEq for MigrationChange
impl PartialEq for MigrationChange
impl Eq for MigrationChange
impl StructuralPartialEq for MigrationChange
Auto Trait Implementations§
impl Freeze for MigrationChange
impl RefUnwindSafe for MigrationChange
impl Send for MigrationChange
impl Sync for MigrationChange
impl Unpin for MigrationChange
impl UnsafeUnpin for MigrationChange
impl UnwindSafe for MigrationChange
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.