pub struct AttemptState {Show 16 fields
pub attempt_id: String,
pub attempt_number: u64,
pub input_ref: WorkflowOutputRef,
pub status: ActivityStatus,
pub lease_id: Option<String>,
pub timeout_ms: Option<u64>,
pub max_output_bytes: Option<u64>,
pub effect_attempted: Option<EffectAttemptedState>,
pub latest_reconcile_result: Option<ReconcileResultState>,
pub cancel_request: Option<CancelRequestState>,
pub wait: Option<WaitState>,
pub output: Option<WorkflowOutputRef>,
pub external_refs: Option<Value>,
pub error: Option<Value>,
pub running_ms: Option<u64>,
pub cancel_origin_event_id: Option<String>,
}Fields§
§attempt_id: String§attempt_number: u64§input_ref: WorkflowOutputRef§status: ActivityStatus§lease_id: Option<String>§timeout_ms: Option<u64>§max_output_bytes: Option<u64>§effect_attempted: Option<EffectAttemptedState>§latest_reconcile_result: Option<ReconcileResultState>§cancel_request: Option<CancelRequestState>§wait: Option<WaitState>§output: Option<WorkflowOutputRef>§external_refs: Option<Value>§error: Option<Value>§running_ms: Option<u64>§cancel_origin_event_id: Option<String>Trait Implementations§
Source§impl Clone for AttemptState
impl Clone for AttemptState
Source§fn clone(&self) -> AttemptState
fn clone(&self) -> AttemptState
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 AttemptState
impl Debug for AttemptState
Source§impl<'de> Deserialize<'de> for AttemptState
impl<'de> Deserialize<'de> for AttemptState
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
impl Eq for AttemptState
Source§impl PartialEq for AttemptState
impl PartialEq for AttemptState
Source§fn eq(&self, other: &AttemptState) -> bool
fn eq(&self, other: &AttemptState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttemptState
impl Serialize for AttemptState
impl StructuralPartialEq for AttemptState
Auto Trait Implementations§
impl Freeze for AttemptState
impl RefUnwindSafe for AttemptState
impl Send for AttemptState
impl Sync for AttemptState
impl Unpin for AttemptState
impl UnsafeUnpin for AttemptState
impl UnwindSafe for AttemptState
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