pub struct WorkflowTask {Show 24 fields
pub task_id: String,
pub observability_context: Option<Value>,
pub dispatch_observability_context: Option<Value>,
pub observability_links: Option<Value>,
pub workflow_command_id: Option<String>,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub workflow_type: String,
pub cancel_requested: bool,
pub payload_codec: String,
pub arguments: Option<Value>,
pub history_events: Vec<HistoryEvent>,
pub total_history_events: Option<u64>,
pub history_size_bytes: Option<u64>,
pub continue_as_new_recommended: Option<bool>,
pub history_budget_pressure: Option<String>,
pub next_history_page_token: Option<String>,
pub workflow_task_attempt: u64,
pub workflow_signal_id: Option<String>,
pub signal_name: Option<String>,
pub signal_arguments: Option<Value>,
pub workflow_update_id: Option<String>,
pub update_name: Option<String>,
pub lease_owner: Option<String>,
}Fields§
§task_id: String§observability_context: Option<Value>Optional, untrusted observability metadata. Receiving it does not authorize execution.
dispatch_observability_context: Option<Value>§observability_links: Option<Value>§workflow_command_id: Option<String>§workflow_id: Option<String>§run_id: Option<String>§workflow_type: String§cancel_requested: bool§payload_codec: String§arguments: Option<Value>§history_events: Vec<HistoryEvent>§total_history_events: Option<u64>§history_size_bytes: Option<u64>§continue_as_new_recommended: Option<bool>§history_budget_pressure: Option<String>§next_history_page_token: Option<String>§workflow_task_attempt: u64§workflow_signal_id: Option<String>§signal_name: Option<String>§signal_arguments: Option<Value>§workflow_update_id: Option<String>§update_name: Option<String>§lease_owner: Option<String>Trait Implementations§
Source§impl Clone for WorkflowTask
impl Clone for WorkflowTask
Source§impl Debug for WorkflowTask
impl Debug for WorkflowTask
Source§impl<'de> Deserialize<'de> for WorkflowTask
impl<'de> Deserialize<'de> for WorkflowTask
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 Forget for WorkflowTask
impl Freeze for WorkflowTaskwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<HistoryEvent>: Freeze,
impl Move for WorkflowTask
impl RefUnwindSafe for WorkflowTask
impl Send for WorkflowTask
impl Sync for WorkflowTask
impl Unpin for WorkflowTask
impl UnsafeUnpin for WorkflowTaskwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<HistoryEvent>: UnsafeUnpin,
impl UnwindSafe for WorkflowTaskwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
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