Enum UpsertTarget
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§
§impl Clone for UpsertTarget
impl Clone for UpsertTarget
§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 more§impl Debug for UpsertTarget
impl Debug for UpsertTarget
§impl PartialEq for UpsertTarget
impl PartialEq for UpsertTarget
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