pub struct CrudOp {
pub op: CrudOpKind,
pub table_name: String,
pub primary_key: Vec<String>,
pub value: RowRecord,
}Expand description
One operation of a CRUD mutation (crudOpSchema). An update’s value is
a partial row with at least the primary key columns; a delete’s holds the
primary key columns, each a string, number, or boolean.
Fields§
§op: CrudOpKind§table_name: String§primary_key: Vec<String>§value: RowRecordTrait Implementations§
Source§impl JsonCodable for CrudOp
impl JsonCodable for CrudOp
impl StructuralPartialEq for CrudOp
Auto Trait Implementations§
impl Forget for CrudOp
impl Freeze for CrudOp
impl Move for CrudOp
impl RefUnwindSafe for CrudOp
impl Send for CrudOp
impl Sync for CrudOp
impl Unpin for CrudOp
impl UnsafeUnpin for CrudOp
impl UnwindSafe for CrudOp
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