Struct sql_ddl::postgres::CreateIndex
source · pub struct CreateIndex<'a> {
pub index_name: PostgresIdentifier<'a>,
pub is_unique: bool,
pub table_reference: &'a dyn Display,
pub columns: Vec<IndexColumn<'a>>,
pub using: Option<IndexAlgorithm>,
}
Fields§
§index_name: PostgresIdentifier<'a>
§is_unique: bool
§table_reference: &'a dyn Display
§columns: Vec<IndexColumn<'a>>
§using: Option<IndexAlgorithm>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CreateIndex<'a>
impl<'a> !Send for CreateIndex<'a>
impl<'a> !Sync for CreateIndex<'a>
impl<'a> Unpin for CreateIndex<'a>
impl<'a> !UnwindSafe for CreateIndex<'a>
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