pub struct ActivityTask {Show 14 fields
pub task_id: String,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub activity_execution_id: Option<String>,
pub observability_context: Option<Value>,
pub dispatch_observability_context: Option<Value>,
pub observability_links: Option<Value>,
pub activity_attempt_id: Option<String>,
pub attempt_id: Option<String>,
pub activity_type: String,
pub payload_codec: String,
pub arguments: Option<Value>,
pub attempt_number: u64,
pub lease_owner: Option<String>,
}Fields§
§task_id: String§workflow_id: Option<String>§run_id: Option<String>§activity_execution_id: Option<String>§observability_context: Option<Value>Optional, untrusted observability metadata. Receiving it does not authorize execution.
dispatch_observability_context: Option<Value>§observability_links: Option<Value>§activity_attempt_id: Option<String>§attempt_id: Option<String>§activity_type: String§payload_codec: String§arguments: Option<Value>§attempt_number: u64§lease_owner: Option<String>Trait Implementations§
Source§impl Clone for ActivityTask
impl Clone for ActivityTask
Source§impl Debug for ActivityTask
impl Debug for ActivityTask
Source§impl<'de> Deserialize<'de> for ActivityTask
impl<'de> Deserialize<'de> for ActivityTask
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 ActivityTask
impl Freeze for ActivityTaskwhere
*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,
impl Move for ActivityTask
impl RefUnwindSafe for ActivityTask
impl Send for ActivityTask
impl Sync for ActivityTask
impl Unpin for ActivityTask
impl UnsafeUnpin for ActivityTaskwhere
*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,
impl UnwindSafe for ActivityTask
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