pub struct CreateIndexStatement {
pub name: String,
pub table: String,
pub columns: Vec<String>,
pub unique: bool,
pub if_not_exists: bool,
}Expand description
CREATE INDEX statement.
Fields§
§name: String§table: String§columns: Vec<String>§unique: bool§if_not_exists: boolTrait Implementations§
Source§impl Clone for CreateIndexStatement
impl Clone for CreateIndexStatement
Source§fn clone(&self) -> CreateIndexStatement
fn clone(&self) -> CreateIndexStatement
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 moreSource§impl Debug for CreateIndexStatement
impl Debug for CreateIndexStatement
Source§impl PartialEq for CreateIndexStatement
impl PartialEq for CreateIndexStatement
impl StructuralPartialEq for CreateIndexStatement
Auto Trait Implementations§
impl Freeze for CreateIndexStatement
impl RefUnwindSafe for CreateIndexStatement
impl Send for CreateIndexStatement
impl Sync for CreateIndexStatement
impl Unpin for CreateIndexStatement
impl UnsafeUnpin for CreateIndexStatement
impl UnwindSafe for CreateIndexStatement
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