pub struct RuleTree {
pub base: Query,
pub qual: Option<Expr>,
pub actions: Vec<Query>,
}Expand description
The query trees of a rule, as transformRuleStmt makes them. Each query has the relation of the rule as its first two relations, old and new.
Fields§
§base: QueryThe range table of the condition: only old and new. DO INSTEAD NOTHING has this query as its action.
qual: Option<Expr>The condition of WHERE, or None.
actions: Vec<Query>The actions in order. NOTHING has no actions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleTree
impl RefUnwindSafe for RuleTree
impl Send for RuleTree
impl Sync for RuleTree
impl Unpin for RuleTree
impl UnsafeUnpin for RuleTree
impl UnwindSafe for RuleTree
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