pub enum SqlUpdateOnePlan {
Returning(SqlReadStatement),
PreselectThenUpdate {
select: SqlReadStatement,
update: SqlStatement,
data: DbRecord,
},
}Expand description
Shared single-row update strategy.
Variants§
Returning(SqlReadStatement)
PreselectThenUpdate
Trait Implementations§
Source§impl Clone for SqlUpdateOnePlan
impl Clone for SqlUpdateOnePlan
Source§fn clone(&self) -> SqlUpdateOnePlan
fn clone(&self) -> SqlUpdateOnePlan
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 SqlUpdateOnePlan
impl Debug for SqlUpdateOnePlan
Source§impl<'de> Deserialize<'de> for SqlUpdateOnePlan
impl<'de> Deserialize<'de> for SqlUpdateOnePlan
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 SqlUpdateOnePlan
impl PartialEq for SqlUpdateOnePlan
Source§fn eq(&self, other: &SqlUpdateOnePlan) -> bool
fn eq(&self, other: &SqlUpdateOnePlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SqlUpdateOnePlan
impl Serialize for SqlUpdateOnePlan
impl StructuralPartialEq for SqlUpdateOnePlan
Auto Trait Implementations§
impl Freeze for SqlUpdateOnePlan
impl RefUnwindSafe for SqlUpdateOnePlan
impl Send for SqlUpdateOnePlan
impl Sync for SqlUpdateOnePlan
impl Unpin for SqlUpdateOnePlan
impl UnsafeUnpin for SqlUpdateOnePlan
impl UnwindSafe for SqlUpdateOnePlan
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