pub struct UpsertTarget {
pub columns: Vec<IndexedColumn>,
pub where_clause: Option<Expr>,
}Expand description
Upsert conflict target.
Fields§
§columns: Vec<IndexedColumn>Indexed columns.
where_clause: Option<Expr>Optional WHERE clause for partial index matching.
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
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