Skip to main content

ConflictTarget

Trait ConflictTarget 

Source
pub trait ConflictTarget<T: Table>: Sealed<T> { }
Expand description

An ON CONFLICT target: the columns, and for a partial unique index the predicate that picks it. Implemented for everything ConflictColumns is, plus the partial_index those columns pass through.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Table, A: ColumnKey<Table = T>, B: ColumnKey<Table = T>, C: ColumnKey<Table = T>> ConflictTarget<T> for (Column<A>, Column<B>, Column<C>)

Source§

impl<T: Table, A: ColumnKey<Table = T>, B: ColumnKey<Table = T>> ConflictTarget<T> for (Column<A>, Column<B>)

Source§

impl<T: Table, A: ColumnKey<Table = T>> ConflictTarget<T> for (Column<A>,)

Implementors§