pub struct WorkflowStepExecutionUpdate {
pub status: Option<TaskStatus>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub result: Option<Value>,
pub error: Option<String>,
}Expand description
Update for the runtime fields of a step execution. Fields left
None are not touched; pass Some(...) to set, including
Some(None) if you need to clear (callers can compose by reading
then writing — this struct sticks to write-set semantics).
Fields§
§status: Option<TaskStatus>§started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>§result: Option<Value>§error: Option<String>Trait Implementations§
Source§impl Clone for WorkflowStepExecutionUpdate
impl Clone for WorkflowStepExecutionUpdate
Source§fn clone(&self) -> WorkflowStepExecutionUpdate
fn clone(&self) -> WorkflowStepExecutionUpdate
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 WorkflowStepExecutionUpdate
impl Debug for WorkflowStepExecutionUpdate
Source§impl Default for WorkflowStepExecutionUpdate
impl Default for WorkflowStepExecutionUpdate
Source§fn default() -> WorkflowStepExecutionUpdate
fn default() -> WorkflowStepExecutionUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowStepExecutionUpdate
impl<'de> Deserialize<'de> for WorkflowStepExecutionUpdate
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 WorkflowStepExecutionUpdate
impl RefUnwindSafe for WorkflowStepExecutionUpdate
impl Send for WorkflowStepExecutionUpdate
impl Sync for WorkflowStepExecutionUpdate
impl Unpin for WorkflowStepExecutionUpdate
impl UnsafeUnpin for WorkflowStepExecutionUpdate
impl UnwindSafe for WorkflowStepExecutionUpdate
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