pub enum UpsertTarget {
Fields(Vec<Projection>),
Columns(Vec<ColumnId>),
}Expand description
The fields or columns that identify the selected upsert conflict.
Variants§
Fields(Vec<Projection>)
Model-field projections used before engine lowering.
Columns(Vec<ColumnId>)
Database columns sent to the driver after engine lowering.
Trait Implementations§
Source§impl Clone for UpsertTarget
impl Clone for UpsertTarget
Source§fn clone(&self) -> UpsertTarget
fn clone(&self) -> UpsertTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpsertTarget
impl Debug for UpsertTarget
Source§impl PartialEq for UpsertTarget
impl PartialEq for UpsertTarget
Source§fn eq(&self, other: &UpsertTarget) -> bool
fn eq(&self, other: &UpsertTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpsertTarget
Auto Trait Implementations§
impl Freeze for UpsertTarget
impl RefUnwindSafe for UpsertTarget
impl Send for UpsertTarget
impl Sync for UpsertTarget
impl Unpin for UpsertTarget
impl UnsafeUnpin for UpsertTarget
impl UnwindSafe for UpsertTarget
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