pub struct IndexDef {
pub name: String,
pub columns: Vec<String>,
pub index_type: IndexType,
pub unique: bool,
}Expand description
Index definition.
Fields§
§name: String§columns: Vec<String>§index_type: IndexType§unique: boolImplementations§
Trait Implementations§
impl Eq for IndexDef
impl StructuralPartialEq for IndexDef
Auto Trait Implementations§
impl Forget for IndexDef
impl Freeze for IndexDef
impl Move for IndexDef
impl RefUnwindSafe for IndexDef
impl Send for IndexDefwhere
RawVecInner: Send,
impl Sync for IndexDefwhere
RawVecInner: Sync,
impl Unpin for IndexDef
impl UnsafeUnpin for IndexDefwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for IndexDefwhere
RawVecInner: UnwindSafe,
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