[−][src]Struct postgres_parser::nodes::IndexStmt
Create Index Statement
This represents creation of an index and/or an associated constraint. If isconstraint is true, we should create a pg_constraint entry along with the index. But if indexOid isn't InvalidOid, we are not creating an index, just a UNIQUE/PKEY constraint using an existing index. isconstraint must always be true in this case, and the fields describing the index properties are empty.
Fields
idxname: Option<String>relation: Option<Box<RangeVar>>accessMethod: Option<String>tableSpace: Option<String>indexParams: Option<Vec<Node>>indexIncludingParams: Option<Vec<Node>>options: Option<Vec<Node>>whereClause: Option<Box<Node>>excludeOpNames: Option<Vec<Node>>idxcomment: Option<String>indexOid: OidoldNode: Oidunique: boolprimary: boolisconstraint: booldeferrable: boolinitdeferred: booltransformed: boolconcurrent: boolif_not_exists: boolreset_default_tblspc: boolTrait Implementations
impl Debug for IndexStmt[src]
impl<'de> Deserialize<'de> for IndexStmt[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for IndexStmt[src]
impl PartialEq<IndexStmt> for IndexStmt[src]
impl Serialize for IndexStmt[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for IndexStmt[src]
impl StructuralPartialEq for IndexStmt[src]
Auto Trait Implementations
impl RefUnwindSafe for IndexStmt
impl Send for IndexStmt
impl Sync for IndexStmt
impl Unpin for IndexStmt
impl UnwindSafe for IndexStmt
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,