pub struct UpdateContextCommand {
pub root_node_id: String,
pub role: String,
pub work_item_id: String,
pub changes: Vec<UpdateContextChange>,
pub expected_revision: Option<u64>,
pub expected_content_hash: Option<String>,
pub idempotency_key: Option<String>,
pub logical_digest: Option<String>,
pub requested_by: Option<String>,
}Fields§
§root_node_id: String§role: String§work_item_id: String§changes: Vec<UpdateContextChange>§expected_revision: Option<u64>§expected_content_hash: Option<String>§idempotency_key: Option<String>§logical_digest: Option<String>Digest of the logical command, computed by the caller before any state-dependent translation. Optional: a caller that supplies none gets idempotency compared on the translated changes, which refuses a replay whenever translation saw different state — safe, but stricter than the caller may mean.
requested_by: Option<String>Trait Implementations§
Source§impl Clone for UpdateContextCommand
impl Clone for UpdateContextCommand
Source§fn clone(&self) -> UpdateContextCommand
fn clone(&self) -> UpdateContextCommand
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 UpdateContextCommand
impl Debug for UpdateContextCommand
impl Eq for UpdateContextCommand
Source§impl PartialEq for UpdateContextCommand
impl PartialEq for UpdateContextCommand
impl StructuralPartialEq for UpdateContextCommand
Auto Trait Implementations§
impl Freeze for UpdateContextCommand
impl RefUnwindSafe for UpdateContextCommand
impl Send for UpdateContextCommand
impl Sync for UpdateContextCommand
impl Unpin for UpdateContextCommand
impl UnsafeUnpin for UpdateContextCommand
impl UnwindSafe for UpdateContextCommand
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