pub struct IndexDef {
pub name: String,
pub columns: Vec<u16>,
pub unique: bool,
pub predicate_sql: Option<String>,
pub predicate_expr: Option<Expr>,
}Expand description
Index definition stored as part of the table schema.
Fields§
§name: String§columns: Vec<u16>§unique: bool§predicate_sql: Option<String>§predicate_expr: Option<Expr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexDef
impl RefUnwindSafe for IndexDef
impl Send for IndexDef
impl Sync for IndexDef
impl Unpin for IndexDef
impl UnsafeUnpin for IndexDef
impl UnwindSafe for IndexDef
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