pub struct SetClause {
pub var: String,
pub field: String,
pub value: Operand,
}Expand description
One var.field = literal_or_param assignment in a SET clause.
value is an Operand rather than a bare Value so that $param
references are legal on the RHS (resolved at execution time from the
query’s parameter map). Only Operand::Lit and Operand::Param are
accepted by the parser; other variants produce a named parse error.
Fields§
§var: String§field: String§value: OperandTrait Implementations§
impl StructuralPartialEq for SetClause
Auto Trait Implementations§
impl Freeze for SetClause
impl RefUnwindSafe for SetClause
impl Send for SetClause
impl Sync for SetClause
impl Unpin for SetClause
impl UnsafeUnpin for SetClause
impl UnwindSafe for SetClause
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