pub struct OnConflict {
pub duplicate: Option<Box<Expression>>,
pub expressions: Vec<Expression>,
pub action: Option<Box<Expression>>,
pub conflict_keys: Option<Box<Expression>>,
pub index_predicate: Option<Box<Expression>>,
pub constraint: Option<Box<Expression>>,
pub where_: Option<Box<Expression>>,
}Expand description
OnConflict
Fields§
§duplicate: Option<Box<Expression>>§expressions: Vec<Expression>§action: Option<Box<Expression>>§conflict_keys: Option<Box<Expression>>§index_predicate: Option<Box<Expression>>§constraint: Option<Box<Expression>>§where_: Option<Box<Expression>>Trait Implementations§
Source§impl Clone for OnConflict
impl Clone for OnConflict
Source§fn clone(&self) -> OnConflict
fn clone(&self) -> OnConflict
Returns a duplicate of the value. Read more
1.0.0 · 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 OnConflict
impl Debug for OnConflict
Source§impl<'de> Deserialize<'de> for OnConflict
impl<'de> Deserialize<'de> for OnConflict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OnConflict
impl PartialEq for OnConflict
Source§impl Serialize for OnConflict
impl Serialize for OnConflict
impl StructuralPartialEq for OnConflict
Auto Trait Implementations§
impl Freeze for OnConflict
impl RefUnwindSafe for OnConflict
impl Send for OnConflict
impl Sync for OnConflict
impl Unpin for OnConflict
impl UnwindSafe for OnConflict
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