#[non_exhaustive]pub struct UpdatePending {
pub workflow_id: String,
pub run_id: Option<String>,
pub update_name: Option<String>,
pub update_id: Option<String>,
pub request_id: Option<String>,
pub update_status: Option<String>,
pub wait_timed_out: bool,
pub receipt: Value,
/* private fields */
}Expand description
An update the Server accepted that had not completed when the wait ended.
It has no result yet: this is never a handler that returned null. Read it
again by update_id with Client::update_outcome on a
Server that advertises update_outcome_reads (native 3.6.0 and later). On
an older Server, call Client::update_workflow again with the same
request_id: the Server returns the retained update
instead of admitting a second one.
run_id names the run that owns the update now, which can be a
continue-as-new successor. receipt is the Server’s full answer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workflow_id: String§run_id: Option<String>§update_name: Option<String>§update_id: Option<String>§request_id: Option<String>§update_status: Option<String>The Server’s update_status, normally accepted.
wait_timed_out: boolWhether the Server’s completion wait ran out.
receipt: ValueTrait Implementations§
Source§impl Clone for UpdatePending
impl Clone for UpdatePending
Source§fn clone(&self) -> UpdatePending
fn clone(&self) -> UpdatePending
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 UpdatePending
impl Debug for UpdatePending
Source§impl Display for UpdatePending
impl Display for UpdatePending
Source§impl Error for UpdatePending
impl Error for UpdatePending
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for UpdatePending
impl PartialEq for UpdatePending
impl StructuralPartialEq for UpdatePending
Auto Trait Implementations§
impl Freeze for UpdatePending
impl RefUnwindSafe for UpdatePending
impl Send for UpdatePending
impl Sync for UpdatePending
impl Unpin for UpdatePending
impl UnwindSafe for UpdatePending
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