pub struct StepExecutionRecord { /* private fields */ }Implementations§
Source§impl StepExecutionRecord
impl StepExecutionRecord
pub fn pending() -> Self
pub fn pending_iteration(iteration: StepIteration) -> Self
pub fn pending_state_iteration(state_iteration: StateIteration) -> Self
pub fn pending_coordinates( state_iteration: StateIteration, iteration: StepIteration, ) -> Self
pub fn state_visit(&self) -> StateVisit
pub fn with_state_visit(self, state_visit: StateVisit) -> Self
pub fn state_iteration(&self) -> StateIteration
pub fn status(&self) -> StepStatus
pub fn iteration(&self) -> StepIteration
pub fn attempt(&self) -> StepAttempt
pub fn lease(&self) -> Option<&StepLease>
pub fn output(&self) -> &StepOutput
pub fn error_message(&self) -> Option<&StepErrorMessage>
pub fn claimed_role(&self) -> Option<&RoleId>
pub fn budget_reservation_id(&self) -> Option<&BudgetReservationId>
pub fn can_be_started_at(&self, now: OffsetDateTime) -> bool
pub fn has_live_lease_at(&self, now: OffsetDateTime) -> bool
pub fn with_started( self, lease: StepLease, attempt: StepAttempt, claimed_role: Option<RoleId>, ) -> Self
pub fn with_budget_reservation( self, reservation_id: Option<BudgetReservationId>, ) -> Self
pub fn with_result(self, result: StepResult) -> Self
Trait Implementations§
Source§impl Clone for StepExecutionRecord
impl Clone for StepExecutionRecord
Source§fn clone(&self) -> StepExecutionRecord
fn clone(&self) -> StepExecutionRecord
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 StepExecutionRecord
impl Debug for StepExecutionRecord
Source§impl<'de> Deserialize<'de> for StepExecutionRecord
impl<'de> Deserialize<'de> for StepExecutionRecord
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 StepExecutionRecord
Source§impl PartialEq for StepExecutionRecord
impl PartialEq for StepExecutionRecord
Source§impl Serialize for StepExecutionRecord
impl Serialize for StepExecutionRecord
impl StructuralPartialEq for StepExecutionRecord
Auto Trait Implementations§
impl Freeze for StepExecutionRecord
impl RefUnwindSafe for StepExecutionRecord
impl Send for StepExecutionRecord
impl Sync for StepExecutionRecord
impl Unpin for StepExecutionRecord
impl UnsafeUnpin for StepExecutionRecord
impl UnwindSafe for StepExecutionRecord
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