pub struct SqlCreateIndexMetadata {Show 14 fields
pub table_name: String,
pub table_identity: Option<String>,
pub name: Option<String>,
pub raw_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§table_identity: Option<String>§name: Option<String>§raw_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§fn clone(&self) -> SqlCreateIndexMetadata
fn clone(&self) -> SqlCreateIndexMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlCreateIndexMetadata
impl Debug for SqlCreateIndexMetadata
Source§impl Default for SqlCreateIndexMetadata
impl Default for SqlCreateIndexMetadata
Source§fn default() -> SqlCreateIndexMetadata
fn default() -> SqlCreateIndexMetadata
Returns the “default value” for a type. Read more
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 SqlCreateIndexMetadatawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SqlIndexParam>: Freeze,
PhantomData<String>: Freeze,
impl Move for SqlCreateIndexMetadata
impl RefUnwindSafe for SqlCreateIndexMetadata
impl Send for SqlCreateIndexMetadatawhere
RawVecInner: Send,
impl Sync for SqlCreateIndexMetadatawhere
RawVecInner: Sync,
impl Unpin for SqlCreateIndexMetadata
impl UnsafeUnpin for SqlCreateIndexMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SqlIndexParam>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SqlCreateIndexMetadatawhere
RawVecInner: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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