pub enum CreateRuleAction {
Nothing,
Statement(Box<Statement>),
Statements(Vec<Statement>),
}Expand description
Variants§
Nothing
NOTHING
Statement(Box<Statement>)
A single command, e.g. DO INSTEAD SELECT * FROM t.
Statements(Vec<Statement>)
A parenthesized, semicolon-separated list of commands.
Trait Implementations§
Source§impl Clone for CreateRuleAction
impl Clone for CreateRuleAction
Source§fn clone(&self) -> CreateRuleAction
fn clone(&self) -> CreateRuleAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateRuleAction
impl Debug for CreateRuleAction
Source§impl Display for CreateRuleAction
impl Display for CreateRuleAction
impl Eq for CreateRuleAction
Source§impl Hash for CreateRuleAction
impl Hash for CreateRuleAction
Source§impl Ord for CreateRuleAction
impl Ord for CreateRuleAction
Source§fn cmp(&self, other: &CreateRuleAction) -> Ordering
fn cmp(&self, other: &CreateRuleAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CreateRuleAction
impl PartialEq for CreateRuleAction
Source§impl PartialOrd for CreateRuleAction
impl PartialOrd for CreateRuleAction
impl StructuralPartialEq for CreateRuleAction
Auto Trait Implementations§
impl Freeze for CreateRuleAction
impl RefUnwindSafe for CreateRuleAction
impl Send for CreateRuleAction
impl Sync for CreateRuleAction
impl Unpin for CreateRuleAction
impl UnsafeUnpin for CreateRuleAction
impl UnwindSafe for CreateRuleAction
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