pub enum SetValue {
Literal(SqlValue),
Add {
attribute: String,
value: SqlValue,
},
Subtract {
attribute: String,
value: SqlValue,
},
}Expand description
Value in SET clause
Variants§
Literal(SqlValue)
Literal value
Add
Arithmetic expression (attribute + value)
Subtract
Arithmetic expression (attribute - value)
Trait Implementations§
impl StructuralPartialEq for SetValue
Auto Trait Implementations§
impl Freeze for SetValue
impl RefUnwindSafe for SetValue
impl Send for SetValue
impl Sync for SetValue
impl Unpin for SetValue
impl UnwindSafe for SetValue
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