pub struct IndexStmt {Show 13 fields
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: Stringname of access method (eg. btree)
idxname: Stringname of new index, or NULL for default
index_params: Vec<IndexParams>§relation: RelationKindrelation to build index on
concurrent: bool§unique: boolis index unique
primary: boolis index a primary key?
isconstraint: boolis it for a pkey/unique constraint?
deferrable: boolis the constraint DEFERRABLE?
initdeferred: boolis the constraint INITIALLY DEFERRED?
transformed: booltrue when transformIndexStmt is finished
if_not_exists: boolshould this be a concurrent index build? just do nothing if index already exists?
table_space: Option<String>tablespace, or NULL for default
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexStmt
impl<'de> Deserialize<'de> for IndexStmt
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
Auto Trait Implementations§
impl Freeze for IndexStmt
impl RefUnwindSafe for IndexStmt
impl Send for IndexStmt
impl Sync for IndexStmt
impl Unpin for IndexStmt
impl UnwindSafe for IndexStmt
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