Struct partiql_ast::ast::Assignment
source · pub struct Assignment {
pub target: Box<Expr>,
pub value: Box<Expr>,
}
Expand description
Represents <expr> = <expr>
in a DML SET operation. Note that in this case, =
is representing
an assignment operation and not the equality operator.
Fields§
§target: Box<Expr>
§value: Box<Expr>
Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
Returns a copy 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 Assignment
impl Debug for Assignment
source§impl PartialEq<Assignment> for Assignment
impl PartialEq<Assignment> for Assignment
source§fn eq(&self, other: &Assignment) -> bool
fn eq(&self, other: &Assignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for Assignment
impl Visit for Assignment
impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
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