pub struct SqlCreateIndexMetadata {
pub table_name: String,
pub name: Option<String>,
pub leading_column: Option<String>,
pub columns: Vec<SqlIndexParam>,
pub include_columns: Vec<String>,
pub access_method: String,
pub unique: bool,
pub has_predicate: bool,
pub not_null_predicate_column: Option<String>,
pub predicate_key: Option<String>,
pub line: usize,
pub source_order: usize,
}Expand description
One CREATE INDEX or unique/primary-key covering index.
Fields§
§table_name: String§name: Option<String>§leading_column: Option<String>§columns: Vec<SqlIndexParam>§include_columns: Vec<String>§access_method: String§unique: bool§has_predicate: bool§not_null_predicate_column: Option<String>§predicate_key: Option<String>§line: usize§source_order: usizeTrait Implementations§
Source§impl Clone for SqlCreateIndexMetadata
impl Clone for SqlCreateIndexMetadata
Source§impl Debug for SqlCreateIndexMetadata
impl Debug for SqlCreateIndexMetadata
Source§impl Default for SqlCreateIndexMetadata
impl Default for SqlCreateIndexMetadata
impl Eq for SqlCreateIndexMetadata
Source§impl PartialEq for SqlCreateIndexMetadata
impl PartialEq for SqlCreateIndexMetadata
impl StructuralPartialEq for SqlCreateIndexMetadata
Auto Trait Implementations§
impl Forget for SqlCreateIndexMetadata
impl Freeze for SqlCreateIndexMetadata
impl Move for SqlCreateIndexMetadata
impl RefUnwindSafe for SqlCreateIndexMetadata
impl Send for SqlCreateIndexMetadata
impl Sync for SqlCreateIndexMetadata
impl Unpin for SqlCreateIndexMetadata
impl UnsafeUnpin for SqlCreateIndexMetadata
impl UnwindSafe for SqlCreateIndexMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more