pub enum SchemaMigrationStepIntent {
AddIndex {
index: IndexName,
},
}Expand description
SchemaMigrationStepIntent
SchemaMigrationStepIntent describes the high-level schema change that must be
validated before any row-op migration plan is emitted.
The initial supported slice models an index addition because IndexName
already provides canonical entity + field identity.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SchemaMigrationStepIntent
impl Clone for SchemaMigrationStepIntent
Source§fn clone(&self) -> SchemaMigrationStepIntent
fn clone(&self) -> SchemaMigrationStepIntent
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 SchemaMigrationStepIntent
impl Debug for SchemaMigrationStepIntent
Source§impl PartialEq for SchemaMigrationStepIntent
impl PartialEq for SchemaMigrationStepIntent
Source§fn eq(&self, other: &SchemaMigrationStepIntent) -> bool
fn eq(&self, other: &SchemaMigrationStepIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SchemaMigrationStepIntent
impl StructuralPartialEq for SchemaMigrationStepIntent
Auto Trait Implementations§
impl Freeze for SchemaMigrationStepIntent
impl RefUnwindSafe for SchemaMigrationStepIntent
impl Send for SchemaMigrationStepIntent
impl Sync for SchemaMigrationStepIntent
impl Unpin for SchemaMigrationStepIntent
impl UnsafeUnpin for SchemaMigrationStepIntent
impl UnwindSafe for SchemaMigrationStepIntent
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