pub struct IndexDef {
pub schema: String,
pub name: String,
pub table_name: String,
pub definition: String,
pub is_unique: bool,
}Expand description
Definition of a database index.
Fields§
§schema: StringSchema the index belongs to.
name: StringName of the index.
table_name: StringName of the table the index is built on.
definition: StringFull CREATE INDEX DDL statement.
is_unique: boolWhether this is a unique index.
Trait Implementations§
impl StructuralPartialEq for IndexDef
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