pub enum OnCommitAction {
DeleteRows(DeleteRows),
Drop(Drop),
PreserveRows(PreserveRows),
}
Variants§
Trait Implementations§
Source§impl AstNode for OnCommitAction
impl AstNode for OnCommitAction
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for OnCommitAction
impl Clone for OnCommitAction
Source§fn clone(&self) -> OnCommitAction
fn clone(&self) -> OnCommitAction
Returns a duplicate of the value. Read more
1.0.0 · 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 OnCommitAction
impl Debug for OnCommitAction
Source§impl From<DeleteRows> for OnCommitAction
impl From<DeleteRows> for OnCommitAction
Source§fn from(node: DeleteRows) -> OnCommitAction
fn from(node: DeleteRows) -> OnCommitAction
Converts to this type from the input type.
Source§impl From<Drop> for OnCommitAction
impl From<Drop> for OnCommitAction
Source§fn from(node: Drop) -> OnCommitAction
fn from(node: Drop) -> OnCommitAction
Converts to this type from the input type.
Source§impl From<PreserveRows> for OnCommitAction
impl From<PreserveRows> for OnCommitAction
Source§fn from(node: PreserveRows) -> OnCommitAction
fn from(node: PreserveRows) -> OnCommitAction
Converts to this type from the input type.
Source§impl Hash for OnCommitAction
impl Hash for OnCommitAction
Source§impl PartialEq for OnCommitAction
impl PartialEq for OnCommitAction
impl Eq for OnCommitAction
impl StructuralPartialEq for OnCommitAction
Auto Trait Implementations§
impl Freeze for OnCommitAction
impl !RefUnwindSafe for OnCommitAction
impl !Send for OnCommitAction
impl !Sync for OnCommitAction
impl Unpin for OnCommitAction
impl !UnwindSafe for OnCommitAction
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