pub struct IndexesDef {
pub span_range: Range<usize>,
pub cols: Vec<IndexesColumnType>,
pub settings: Option<IndexesSettings>,
}Expand description
Represents an indexes definition or each item in an indexes block.
Fields§
§span_range: Range<usize>The range of the span in the source text.
cols: Vec<IndexesColumnType>Table column names for indexing which can be composite.
settings: Option<IndexesSettings>A Configuration for the specified column names.
Trait Implementations§
Source§impl Clone for IndexesDef
impl Clone for IndexesDef
Source§impl Debug for IndexesDef
impl Debug for IndexesDef
Auto Trait Implementations§
impl Freeze for IndexesDef
impl RefUnwindSafe for IndexesDef
impl Send for IndexesDef
impl Sync for IndexesDef
impl Unpin for IndexesDef
impl UnsafeUnpin for IndexesDef
impl UnwindSafe for IndexesDef
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