#[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§fn clone(&self) -> WorkflowActivityAttempt
fn clone(&self) -> WorkflowActivityAttempt
Returns a copy of the value. Read more
1.0.0 · 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 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 Freeze for WorkflowActivityAttempt
impl RefUnwindSafe for WorkflowActivityAttempt
impl Send for WorkflowActivityAttempt
impl Sync for WorkflowActivityAttempt
impl Unpin for WorkflowActivityAttempt
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