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§fn clone(&self) -> IndexesDef
fn clone(&self) -> IndexesDef
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexesDef
impl Debug for IndexesDef
Source§impl Default for IndexesDef
impl Default for IndexesDef
Source§fn default() -> IndexesDef
fn default() -> IndexesDef
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexesDef
impl RefUnwindSafe for IndexesDef
impl Send for IndexesDef
impl Sync for IndexesDef
impl Unpin 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