pub struct CreateIndexStatement {
pub unique: bool,
pub if_not_exists: bool,
pub name: QualifiedName,
pub table: String,
pub columns: Vec<IndexedColumn>,
pub where_clause: Option<Expr>,
}Expand description
A CREATE INDEX statement.
Fields§
§unique: boolCREATE UNIQUE INDEX.
if_not_exists: boolIF NOT EXISTS flag.
name: QualifiedNameIndex name.
table: StringTable the index is on.
columns: Vec<IndexedColumn>Indexed columns.
where_clause: Option<Expr>Optional partial index WHERE clause.
Trait 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 (const: unstable) · 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 Display for CreateIndexStatement
impl Display 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