pub struct Conflict {
pub target: Slice,
pub action: ConflictAction,
}Expand description
ON CONFLICT, INSERT OR REPLACE or INSERT OR IGNORE.
Fields§
§target: SliceThe columns of the key the statement named, as a run of parts, empty when it named none.
action: ConflictActionWhat happens to a row that clashes.
Trait Implementations§
impl Copy for Conflict
impl Eq for Conflict
impl StructuralPartialEq for Conflict
Auto Trait Implementations§
impl Freeze for Conflict
impl RefUnwindSafe for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnsafeUnpin for Conflict
impl UnwindSafe 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