pub struct DefineIndex {
pub name: Spanned<String>,
pub table: Spanned<String>,
pub fields: Vec<Spanned<Idiom>>,
pub kind: IndexKind,
}Expand description
DEFINE INDEX.
Fields§
§name: Spanned<String>The index name.
table: Spanned<String>The table the index is defined on.
fields: Vec<Spanned<Idiom>>The indexed field paths.
kind: IndexKindWhat backs the index.
Trait Implementations§
Source§impl Clone for DefineIndex
impl Clone for DefineIndex
Source§fn clone(&self) -> DefineIndex
fn clone(&self) -> DefineIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefineIndex
impl Debug for DefineIndex
Source§impl PartialEq for DefineIndex
impl PartialEq for DefineIndex
impl StructuralPartialEq for DefineIndex
Auto Trait Implementations§
impl Freeze for DefineIndex
impl RefUnwindSafe for DefineIndex
impl Send for DefineIndex
impl Sync for DefineIndex
impl Unpin for DefineIndex
impl UnsafeUnpin for DefineIndex
impl UnwindSafe for DefineIndex
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