#[non_exhaustive]pub struct WorkflowActivityAttempt {Show 16 fields
pub id: Option<String>,
pub worker_attempt_id: Option<String>,
pub attempt_number: Option<i64>,
pub status: Option<String>,
pub task_id: Option<String>,
pub lease_owner: Option<String>,
pub lease_expires_at: Option<String>,
pub started_at: Option<String>,
pub last_heartbeat_at: Option<String>,
pub last_heartbeat_progress: Option<Value>,
pub closed_at: Option<String>,
pub can_continue: Option<bool>,
pub cancel_requested: Option<bool>,
pub stop_reason: Option<String>,
pub failure_reason: Option<String>,
pub raw: BTreeMap<String, Value>,
}Expand description
Recorded attempt state. These flags describe visibility, not action grants.
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.id: Option<String>§worker_attempt_id: Option<String>§attempt_number: Option<i64>§status: Option<String>§task_id: Option<String>§lease_owner: Option<String>§lease_expires_at: Option<String>§started_at: Option<String>§last_heartbeat_at: Option<String>§last_heartbeat_progress: Option<Value>§closed_at: Option<String>§can_continue: Option<bool>§cancel_requested: Option<bool>§stop_reason: Option<String>§failure_reason: Option<String>§raw: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for WorkflowActivityAttempt
impl Clone for WorkflowActivityAttempt
Source§impl Debug for WorkflowActivityAttempt
impl Debug for WorkflowActivityAttempt
Source§impl<'de> Deserialize<'de> for WorkflowActivityAttempt
impl<'de> Deserialize<'de> for WorkflowActivityAttempt
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 WorkflowActivityAttempt
impl Freeze for WorkflowActivityAttemptwhere
*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 WorkflowActivityAttempt
impl RefUnwindSafe for WorkflowActivityAttempt
impl Send for WorkflowActivityAttempt
impl Sync for WorkflowActivityAttempt
impl Unpin for WorkflowActivityAttempt
impl UnsafeUnpin for WorkflowActivityAttemptwhere
*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 WorkflowActivityAttempt
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