pub struct Index {
pub name: IndexName,
pub columns: Vec<ColumnName>,
pub unique: bool,
}Expand description
An index whose column order is semantic.
Fields§
§name: IndexNameStable index name.
columns: Vec<ColumnName>Indexed columns in key order.
unique: boolWhether the provider must enforce uniqueness.
Trait Implementations§
impl Eq for Index
impl StructuralPartialEq for Index
Source§impl ToRelationDatum for Index
impl ToRelationDatum for Index
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnsafeUnpin for Index
impl UnwindSafe for Index
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