Struct sqlmo::CreateIndex
source · pub struct CreateIndex {
pub name: String,
pub unique: bool,
pub schema: Option<String>,
pub table: String,
pub columns: Vec<String>,
pub type_: IndexType,
}Expand description
Create index action for a table
Fields§
§name: String§unique: bool§schema: Option<String>§table: String§columns: Vec<String>§type_: IndexTypeTrait Implementations§
source§impl Clone for CreateIndex
impl Clone for CreateIndex
source§fn clone(&self) -> CreateIndex
fn clone(&self) -> CreateIndex
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 moresource§impl Debug for CreateIndex
impl Debug for CreateIndex
Auto Trait Implementations§
impl Freeze for CreateIndex
impl RefUnwindSafe for CreateIndex
impl Send for CreateIndex
impl Sync for CreateIndex
impl Unpin for CreateIndex
impl UnwindSafe for CreateIndex
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