[][src]Struct squawk_parser::ast::IndexStmt

pub struct IndexStmt {
    pub access_method: String,
    pub idxname: String,
    pub index_params: Vec<IndexParams>,
    pub relation: RelationKind,
    pub concurrent: bool,
    pub unique: bool,
    pub primary: bool,
    pub isconstraint: bool,
    pub deferrable: bool,
    pub initdeferred: bool,
    pub transformed: bool,
    pub if_not_exists: bool,
    pub table_space: Option<String>,
}

Fields

access_method: String

name of access method (eg. btree)

idxname: String

name of new index, or NULL for default

index_params: Vec<IndexParams>relation: RelationKind

relation to build index on

concurrent: boolunique: bool

is index unique

primary: bool

is index a primary key?

isconstraint: bool

is it for a pkey/unique constraint?

deferrable: bool

is the constraint DEFERRABLE?

initdeferred: bool

is the constraint INITIALLY DEFERRED?

transformed: bool

true when transformIndexStmt is finished

if_not_exists: bool

should this be a concurrent index build? just do nothing if index already exists?

table_space: Option<String>

tablespace, or NULL for default

Trait Implementations

impl Debug for IndexStmt[src]

impl<'de> Deserialize<'de> for IndexStmt[src]

impl Serialize for IndexStmt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.