pub struct Index {
pub name: String,
pub unique: bool,
pub schema: Option<String>,
pub table: String,
pub columns: Vec<String>,
pub kind: IndexKind,
}Expand description
Create index action for a table
Fields§
§name: String§unique: bool§schema: Option<String>§table: String§columns: Vec<String>§kind: IndexKindTrait Implementations§
impl Eq for Index
impl StructuralPartialEq 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 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