Enum spacetimedb_vm::expr::CrudExprOpt
source · pub enum CrudExprOpt {
Insert {
source: SourceExprOpt,
rows: Vec<ProductValue>,
},
Update {
delete: QueryExprOpt,
assignments: HashMap<FieldName, FieldExpr>,
},
Delete {
query: QueryExprOpt,
},
CreateTable {
table: TableDef,
},
Drop {
name: String,
kind: DbType,
table_access: StAccess,
},
}Variants§
Trait Implementations§
source§impl Clone for CrudExprOpt
impl Clone for CrudExprOpt
source§fn clone(&self) -> CrudExprOpt
fn clone(&self) -> CrudExprOpt
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 CrudExprOpt
impl Debug for CrudExprOpt
source§impl PartialEq for CrudExprOpt
impl PartialEq for CrudExprOpt
source§fn eq(&self, other: &CrudExprOpt) -> bool
fn eq(&self, other: &CrudExprOpt) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CrudExprOpt
impl StructuralPartialEq for CrudExprOpt
Auto Trait Implementations§
impl RefUnwindSafe for CrudExprOpt
impl Send for CrudExprOpt
impl Sync for CrudExprOpt
impl Unpin for CrudExprOpt
impl UnwindSafe for CrudExprOpt
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