pub struct Derived {
pub table: u32,
pub types: Vec<u32>,
pub exprs: Vec<Expr>,
pub predicate: Vec<Expr>,
}Expand description
The key of a unique index with an expression or a predicate, which FormIndexDatum computes for each row. A row that does not pass the predicate is not in the index, as ExecInsertIndexTuples checks it with ExecQual. Unique::columns has the places of the key columns in the values of the expressions.
Fields§
§table: u32The OID of the table.
types: Vec<u32>The type of each column of the table.
exprs: Vec<Expr>The expression of each key column, with the columns of the table as columns of the relation 0. A key column that is a column of the table is a variable.
predicate: Vec<Expr>The parts of the predicate, indpred, or none for an index with no predicate.
Trait Implementations§
impl StructuralPartialEq for Derived
Auto Trait Implementations§
impl Freeze for Derived
impl RefUnwindSafe for Derived
impl Send for Derived
impl Sync for Derived
impl Unpin for Derived
impl UnsafeUnpin for Derived
impl UnwindSafe for Derived
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