pub enum OnCommit {
DeleteRows,
PreserveRows,
Drop,
}Expand description
Action to take ON COMMIT for temporary tables.
Variants§
DeleteRows
Delete rows on commit.
PreserveRows
Preserve rows on commit.
Drop
Drop the table on commit.
Trait Implementations§
Source§impl Ord for OnCommit
impl Ord for OnCommit
Source§impl PartialOrd for OnCommit
impl PartialOrd for OnCommit
Source§impl VisitMut for OnCommit
impl VisitMut for OnCommit
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Copy for OnCommit
impl Eq for OnCommit
impl StructuralPartialEq for OnCommit
Auto Trait Implementations§
impl Freeze for OnCommit
impl RefUnwindSafe for OnCommit
impl Send for OnCommit
impl Sync for OnCommit
impl Unpin for OnCommit
impl UnsafeUnpin for OnCommit
impl UnwindSafe for OnCommit
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