pub struct CqlUpdate {
pub table: CqlTable,
pub using: Option<CqlUsing>,
pub assignments: Vec<CqlAssignment>,
pub where_clause: CqlExpression,
pub if_condition: Option<CqlExpression>,
}Expand description
UPDATE statement AST
Fields§
§table: CqlTableTarget table
using: Option<CqlUsing>USING clause (TTL, TIMESTAMP)
assignments: Vec<CqlAssignment>SET assignments
where_clause: CqlExpressionWHERE clause
if_condition: Option<CqlExpression>IF condition (optional)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CqlUpdate
impl<'de> Deserialize<'de> for CqlUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CqlUpdate
Auto Trait Implementations§
impl Freeze for CqlUpdate
impl RefUnwindSafe for CqlUpdate
impl Send for CqlUpdate
impl Sync for CqlUpdate
impl Unpin for CqlUpdate
impl UnsafeUnpin for CqlUpdate
impl UnwindSafe for CqlUpdate
Blanket Implementations§
impl<T> Allocation for T
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