pub struct CreateIndexStatement { /* private fields */ }Expand description
Implementations§
Source§impl CreateIndexStatement
impl CreateIndexStatement
Sourcepub fn take(&mut self) -> Self
pub fn take(&mut self) -> Self
Take the ownership of data in the current CreateIndexStatement
Sourcepub fn table<T>(&mut self, tbl: T) -> &mut Selfwhere
T: IntoTableRef,
pub fn table<T>(&mut self, tbl: T) -> &mut Selfwhere
T: IntoTableRef,
Sourcepub fn cols<I, C>(&mut self, columns: I) -> &mut Selfwhere
I: IntoIterator<Item = C>,
C: IntoIden,
pub fn cols<I, C>(&mut self, columns: I) -> &mut Selfwhere
I: IntoIterator<Item = C>,
C: IntoIden,
Sourcepub fn if_not_exists(&mut self) -> &mut Self
pub fn if_not_exists(&mut self) -> &mut Self
Sourcepub fn where(&mut self, condition: SimpleExpr) -> &mut Self
pub fn where(&mut self, condition: SimpleExpr) -> &mut Self
Sourcepub fn using(&mut self, method: IndexMethod) -> &mut Self
pub fn using(&mut self, method: IndexMethod) -> &mut Self
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 · 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 Default for CreateIndexStatement
impl Default for CreateIndexStatement
Source§impl QueryStatementBuilder for CreateIndexStatement
impl QueryStatementBuilder for CreateIndexStatement
Source§fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
fn build_any(&self, query_builder: &dyn QueryBuilderTrait) -> (String, Values)
Build SQL statement for a database backend and collect query parameters Read more
impl QueryStatementWriter 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