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 Debug for CreateIndex
impl Debug for CreateIndex
Auto Trait Implementations§
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