Struct diesel::dsl::DuplicatedKeys
source · pub struct DuplicatedKeys;
Available on crate feature
mysql_backend
only.Expand description
A marker type signaling that the given ON CONFLICT
clause
uses mysql’s ON DUPLICATE KEY
syntax that triggers on
all unique constraints
See InsertStatement::on_conflict
for examples
Trait Implementations§
source§impl Clone for DuplicatedKeys
impl Clone for DuplicatedKeys
source§fn clone(&self) -> DuplicatedKeys
fn clone(&self) -> DuplicatedKeys
Returns a copy 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 DuplicatedKeys
impl Debug for DuplicatedKeys
impl Copy for DuplicatedKeys
Auto Trait Implementations§
impl Freeze for DuplicatedKeys
impl RefUnwindSafe for DuplicatedKeys
impl Send for DuplicatedKeys
impl Sync for DuplicatedKeys
impl Unpin for DuplicatedKeys
impl UnwindSafe for DuplicatedKeys
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)