Struct cql3_parser::update::Update
source · [−]pub struct Update {
pub begin_batch: Option<BeginBatch>,
pub table_name: FQName,
pub using_ttl: Option<TtlTimestamp>,
pub assignments: Vec<AssignmentElement>,
pub where_clause: Vec<RelationElement>,
pub if_clause: Vec<RelationElement>,
pub if_exists: bool,
}Expand description
data for Update statements
Fields
begin_batch: Option<BeginBatch>if present then statement starts with BEGIN BATCH
table_name: FQNamethe table name to update
using_ttl: Option<TtlTimestamp>if present then the TTL Timestamp for the update
assignments: Vec<AssignmentElement>the column assignments for the update.
where_clause: Vec<RelationElement>the where clause
if_clause: Vec<RelationElement>if present a list of key,values for the IF clause
if_exists: boolif true and if_clause is NONE then IF EXISTS is added to the statement
Trait Implementations
impl StructuralPartialEq for Update
Auto Trait Implementations
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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