Enum barrel::IndexChange
source · 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 copy 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 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