pub struct RunCompleted {
pub run_id: i64,
pub status: String,
pub done: bool,
pub data: Option<Value>,
pub error: Option<String>,
pub duration_ms: Option<i64>,
pub status_url: Option<String>,
pub events_url: Option<String>,
pub extra: Extra,
}Expand description
Terminal run document returned by workflows().run_wait(..) (?wait=true).
A FAILED run arrives here as a normal value with status == "failed", NOT as an
error: the call succeeded in REPORTING the outcome. Check status.
Fields§
§run_id: i64§status: StringOne of success | failed | timeout | cancelled.
done: bool§data: Option<Value>The run’s result payload, when it produced one.
error: Option<String>Why it failed. Present for non-success terminal states.
duration_ms: Option<i64>§status_url: Option<String>Populated only on the 504 (still-running) body.
events_url: Option<String>§extra: ExtraTrait Implementations§
Source§impl Clone for RunCompleted
impl Clone for RunCompleted
Source§fn clone(&self) -> RunCompleted
fn clone(&self) -> RunCompleted
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 RunCompleted
impl Debug for RunCompleted
Source§impl<'de> Deserialize<'de> for RunCompleted
impl<'de> Deserialize<'de> for RunCompleted
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunCompleted
impl RefUnwindSafe for RunCompleted
impl Send for RunCompleted
impl Sync for RunCompleted
impl Unpin for RunCompleted
impl UnsafeUnpin for RunCompleted
impl UnwindSafe for RunCompleted
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