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§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§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