pub enum IndexChange {
AddIndex {
index: String,
table: String,
columns: Type,
},
AddPartialIndex {
index: String,
table: String,
columns: Type,
conditions: String,
},
RemoveIndex(String, String),
}Expand description
An enum set that represents operations done with and on indices
Variants§
AddIndex
Add a multi-column index
AddPartialIndex
RemoveIndex(String, String)
Remove a multi-column index
Trait Implementations§
Source§impl Clone for IndexChange
impl Clone for IndexChange
Source§fn clone(&self) -> IndexChange
fn clone(&self) -> IndexChange
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 moreAuto Trait Implementations§
impl Freeze for IndexChange
impl RefUnwindSafe for IndexChange
impl Send for IndexChange
impl Sync for IndexChange
impl Unpin for IndexChange
impl UnwindSafe for IndexChange
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