Struct cql3_parser::update::AssignmentElement
source · [−]pub struct AssignmentElement {
pub name: IndexedColumn,
pub value: Operand,
pub operator: Option<AssignmentOperator>,
}Expand description
defines an assignment element comprising the column, the value, and an optional +/- value operator.
Fields
name: IndexedColumnthe column to set the value for.
value: Operandthe column value
operator: Option<AssignmentOperator>an optional +/- value
Trait Implementations
sourceimpl Clone for AssignmentElement
impl Clone for AssignmentElement
sourcefn clone(&self) -> AssignmentElement
fn clone(&self) -> AssignmentElement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AssignmentElement
impl Debug for AssignmentElement
sourceimpl Display for AssignmentElement
impl Display for AssignmentElement
sourceimpl PartialEq<AssignmentElement> for AssignmentElement
impl PartialEq<AssignmentElement> for AssignmentElement
sourcefn eq(&self, other: &AssignmentElement) -> bool
fn eq(&self, other: &AssignmentElement) -> bool
impl StructuralPartialEq for AssignmentElement
Auto Trait Implementations
impl RefUnwindSafe for AssignmentElement
impl Send for AssignmentElement
impl Sync for AssignmentElement
impl Unpin for AssignmentElement
impl UnwindSafe for AssignmentElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more