pub struct UpdateRowArgs {
pub database: String,
pub table: String,
pub primary_key: Value,
pub partition_ey: Option<Value>,
pub update: Value,
}Expand description
update row args response with crate::mochow::api::CommonResponse
Fields§
§database: String§table: String§primary_key: Valuethe primary key value of the record to be updated
partition_ey: Option<Value>the partition value of the record to be updated. If the partition key and primary key of the table are the same key, there is no need to fill in the partition key value. The partition key value will only take effect if there is a primary key value
update: Valuelist of fields to be updated and their new values. Updating primary keys, partition keys, and vector fields is not allowed
Trait Implementations§
Source§impl Clone for UpdateRowArgs
impl Clone for UpdateRowArgs
Source§fn clone(&self) -> UpdateRowArgs
fn clone(&self) -> UpdateRowArgs
Returns a duplicate 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 UpdateRowArgs
impl Debug for UpdateRowArgs
Source§impl IntoRequest for UpdateRowArgs
impl IntoRequest for UpdateRowArgs
fn into_request( self, config: &ClientConfiguration, client: &ClientWithMiddleware, ) -> RequestBuilder
Auto Trait Implementations§
impl Freeze for UpdateRowArgs
impl RefUnwindSafe for UpdateRowArgs
impl Send for UpdateRowArgs
impl Sync for UpdateRowArgs
impl Unpin for UpdateRowArgs
impl UnwindSafe for UpdateRowArgs
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