pub enum SqliteOnConflict {
Rollback,
Abort,
Fail,
Ignore,
Replace,
}Expand description
Sqlite specific syntax
See Sqlite documentation for more details.
Variants§
Rollback
Use ROLLBACK on conflict.
Abort
Use ABORT on conflict.
Fail
Use FAIL on conflict.
Ignore
Use IGNORE on conflict.
Replace
Use REPLACE on conflict.
Trait Implementations§
Source§impl Clone for SqliteOnConflict
impl Clone for SqliteOnConflict
Source§fn clone(&self) -> SqliteOnConflict
fn clone(&self) -> SqliteOnConflict
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 SqliteOnConflict
impl Debug for SqliteOnConflict
Source§impl Display for SqliteOnConflict
impl Display for SqliteOnConflict
Source§impl Hash for SqliteOnConflict
impl Hash for SqliteOnConflict
Source§impl Ord for SqliteOnConflict
impl Ord for SqliteOnConflict
Source§fn cmp(&self, other: &SqliteOnConflict) -> Ordering
fn cmp(&self, other: &SqliteOnConflict) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SqliteOnConflict
impl PartialEq for SqliteOnConflict
Source§impl PartialOrd for SqliteOnConflict
impl PartialOrd for SqliteOnConflict
Source§impl Visit for SqliteOnConflict
impl Visit for SqliteOnConflict
Source§impl VisitMut for SqliteOnConflict
impl VisitMut for SqliteOnConflict
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 SqliteOnConflict
impl Eq for SqliteOnConflict
impl StructuralPartialEq for SqliteOnConflict
Auto Trait Implementations§
impl Freeze for SqliteOnConflict
impl RefUnwindSafe for SqliteOnConflict
impl Send for SqliteOnConflict
impl Sync for SqliteOnConflict
impl Unpin for SqliteOnConflict
impl UnsafeUnpin for SqliteOnConflict
impl UnwindSafe for SqliteOnConflict
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