pub struct UpdateCommand {
pub entity: String,
pub id: Value,
pub expected_version: Option<i64>,
pub values: Record,
}Fields§
§entity: String§id: Value§expected_version: Option<i64>§values: RecordImplementations§
Trait Implementations§
Source§impl Clone for UpdateCommand
impl Clone for UpdateCommand
Source§fn clone(&self) -> UpdateCommand
fn clone(&self) -> UpdateCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateCommand
impl Debug for UpdateCommand
Source§impl PartialEq for UpdateCommand
impl PartialEq for UpdateCommand
Source§fn eq(&self, other: &UpdateCommand) -> bool
fn eq(&self, other: &UpdateCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateCommand
Auto Trait Implementations§
impl Freeze for UpdateCommand
impl RefUnwindSafe for UpdateCommand
impl Send for UpdateCommand
impl Sync for UpdateCommand
impl Unpin for UpdateCommand
impl UnsafeUnpin for UpdateCommand
impl UnwindSafe for UpdateCommand
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