pub struct Index {
pub name: Ident,
pub table: QualifiedName,
pub columns: Vec<IndexColumn>,
pub unique: bool,
pub method: Option<IndexMethod>,
pub where_clause: Option<Expr>,
}Expand description
A CREATE INDEX statement.
Fields§
§name: Ident§table: QualifiedName§columns: Vec<IndexColumn>§unique: bool§method: Option<IndexMethod>§where_clause: Option<Expr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnsafeUnpin for Index
impl UnwindSafe for Index
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