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_: IndexType
Trait 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
Source§impl PartialEq for CreateIndex
impl PartialEq for CreateIndex
Source§impl ToSql for CreateIndex
impl ToSql for CreateIndex
impl Eq for CreateIndex
impl StructuralPartialEq 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