pub enum PostgresConflictTarget<'a, V: SQLParam> {
Columns(Box<ConflictColumnsTarget<'a, V>>),
Constraint(&'static str),
}Expand description
PostgreSQL conflict target, including ON CONSTRAINT.
Variants§
Columns(Box<ConflictColumnsTarget<'a, V>>)
Constraint(&'static str)
Implementations§
Source§impl<'a, V: SQLParam> PostgresConflictTarget<'a, V>
impl<'a, V: SQLParam> PostgresConflictTarget<'a, V>
Trait Implementations§
Source§impl<'a, V: Clone + SQLParam> Clone for PostgresConflictTarget<'a, V>
impl<'a, V: Clone + SQLParam> Clone for PostgresConflictTarget<'a, V>
Source§fn clone(&self) -> PostgresConflictTarget<'a, V>
fn clone(&self) -> PostgresConflictTarget<'a, V>
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<'a, V: SQLParam> ConflictTargetSql<'a, V> for PostgresConflictTarget<'a, V>
impl<'a, V: SQLParam> ConflictTargetSql<'a, V> for PostgresConflictTarget<'a, V>
Auto Trait Implementations§
impl<'a, V> Freeze for PostgresConflictTarget<'a, V>
impl<'a, V> RefUnwindSafe for PostgresConflictTarget<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Send for PostgresConflictTarget<'a, V>
impl<'a, V> Sync for PostgresConflictTarget<'a, V>where
V: Sync,
impl<'a, V> Unpin for PostgresConflictTarget<'a, V>
impl<'a, V> UnsafeUnpin for PostgresConflictTarget<'a, V>
impl<'a, V> UnwindSafe for PostgresConflictTarget<'a, V>where
V: RefUnwindSafe + UnwindSafe,
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