pub struct PostgresIndex {
pub name: String,
pub key_columns: Vec<PostgresIndexKeyColumn>,
pub index_type: String,
pub predicate: Option<String>,
pub included_columns: Vec<PostgresIndexIncludedColumn>,
pub index_constraint_type: PostgresIndexType,
pub storage_parameters: Vec<String>,
pub comment: Option<String>,
pub object_id: ObjectId,
}Fields§
§name: String§key_columns: Vec<PostgresIndexKeyColumn>§index_type: String§predicate: Option<String>§included_columns: Vec<PostgresIndexIncludedColumn>§index_constraint_type: PostgresIndexType§storage_parameters: Vec<String>§comment: Option<String>§object_id: ObjectIdImplementations§
Source§impl PostgresIndex
impl PostgresIndex
pub fn get_create_index_command( &self, schema: &PostgresSchema, table: &PostgresTable, identifier_quoter: &IdentifierQuoter, ) -> String
Trait Implementations§
Source§impl Clone for PostgresIndex
impl Clone for PostgresIndex
Source§fn clone(&self) -> PostgresIndex
fn clone(&self) -> PostgresIndex
Returns a duplicate of the value. Read more
1.0.0 · 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 PostgresIndex
impl Debug for PostgresIndex
Source§impl Default for PostgresIndex
impl Default for PostgresIndex
Source§fn default() -> PostgresIndex
fn default() -> PostgresIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresIndex
impl<'de> Deserialize<'de> for PostgresIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for PostgresIndex
impl Ord for PostgresIndex
Source§impl PartialEq for PostgresIndex
impl PartialEq for PostgresIndex
Source§impl PartialOrd for PostgresIndex
impl PartialOrd for PostgresIndex
Source§impl Serialize for PostgresIndex
impl Serialize for PostgresIndex
impl Eq for PostgresIndex
impl StructuralPartialEq for PostgresIndex
Auto Trait Implementations§
impl Freeze for PostgresIndex
impl RefUnwindSafe for PostgresIndex
impl Send for PostgresIndex
impl Sync for PostgresIndex
impl Unpin for PostgresIndex
impl UnwindSafe for PostgresIndex
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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