pub struct DecisionInput<'a> { /* private fields */ }Expand description
Immutable, sensitivity-aware input supplied to one decider invocation.
Implementations§
Source§impl DecisionInput<'_>
impl DecisionInput<'_>
Sourcepub const fn job_instance_id(&self) -> JobInstanceId
pub const fn job_instance_id(&self) -> JobInstanceId
Returns the logical job instance.
Sourcepub const fn job_execution_id(&self) -> JobExecutionId
pub const fn job_execution_id(&self) -> JobExecutionId
Returns the current execution attempt.
Sourcepub const fn attempt(&self) -> ExecutionAttempt
pub const fn attempt(&self) -> ExecutionAttempt
Returns the positive attempt number.
Sourcepub const fn plan_fingerprint(&self) -> &[u8; 32]
pub const fn plan_fingerprint(&self) -> &[u8; 32]
Returns the exact plan fingerprint.
Sourcepub const fn parameters(&self) -> &JobParameters
pub const fn parameters(&self) -> &JobParameters
Borrows typed parameters; their debug representation remains redacted.
Sourcepub const fn preceding_step(&self) -> Option<&DecisionStepInput>
pub const fn preceding_step(&self) -> Option<&DecisionStepInput>
Borrows the preceding durable step observation, when one exists.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DecisionInput<'a>
impl<'a> RefUnwindSafe for DecisionInput<'a>
impl<'a> Send for DecisionInput<'a>
impl<'a> Sync for DecisionInput<'a>
impl<'a> Unpin for DecisionInput<'a>
impl<'a> UnsafeUnpin for DecisionInput<'a>
impl<'a> UnwindSafe for DecisionInput<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more