pub struct PhaseUpdate {
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub attempts: Option<u32>,
pub checks: Option<Vec<CheckResult>>,
pub error: Option<ErrorInfo>,
pub skip_reason: Option<String>,
pub retry_context: Option<Option<String>>,
}Expand description
Optional side-effect data applied during a transition.
Fields§
§started_at: Option<String>§completed_at: Option<String>§attempts: Option<u32>§checks: Option<Vec<CheckResult>>§error: Option<ErrorInfo>§skip_reason: Option<String>§retry_context: Option<Option<String>>Implementations§
Source§impl PhaseUpdate
impl PhaseUpdate
pub fn apply(self, phase: &mut PhaseState)
Trait Implementations§
Source§impl Clone for PhaseUpdate
impl Clone for PhaseUpdate
Source§fn clone(&self) -> PhaseUpdate
fn clone(&self) -> PhaseUpdate
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 PhaseUpdate
impl Debug for PhaseUpdate
Source§impl Default for PhaseUpdate
impl Default for PhaseUpdate
Source§fn default() -> PhaseUpdate
fn default() -> PhaseUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PhaseUpdate
impl RefUnwindSafe for PhaseUpdate
impl Send for PhaseUpdate
impl Sync for PhaseUpdate
impl Unpin for PhaseUpdate
impl UnsafeUnpin for PhaseUpdate
impl UnwindSafe for PhaseUpdate
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