Struct sea_query::index::TableIndex
source ยท pub struct TableIndex { /* private fields */ }
Expand description
Specification of a table index
Implementationsยง
sourceยงimpl TableIndex
impl TableIndex
sourcepub fn col(&mut self, col: IndexColumn) -> &mut Self
pub fn col(&mut self, col: IndexColumn) -> &mut Self
Set index column
pub fn get_column_names(&self) -> Vec<String>
pub fn take(&mut self) -> Self
Trait Implementationsยง
sourceยงimpl Clone for TableIndex
impl Clone for TableIndex
sourceยงfn clone(&self) -> TableIndex
fn clone(&self) -> TableIndex
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 TableIndex
impl Debug for TableIndex
sourceยงimpl Default for TableIndex
impl Default for TableIndex
sourceยงfn default() -> TableIndex
fn default() -> TableIndex
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl !RefUnwindSafe for TableIndex
impl Send for TableIndex
impl Sync for TableIndex
impl Unpin for TableIndex
impl !UnwindSafe for TableIndex
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