pub struct Conflict {
pub key: Option<usize>,
pub action: ConflictAction,
}Expand description
A bound ON CONFLICT, INSERT OR REPLACE or INSERT OR IGNORE.
Fields§
§key: Option<usize>Which of the table’s keys a clash is on, or None for any of them.
action: ConflictActionWhat happens to a row that clashes.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Conflict
impl !UnwindSafe for Conflict
impl Freeze for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnsafeUnpin for Conflict
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