pub struct WaitStepStrikes {
pub dag_id: String,
pub task_id: String,
pub strikes: u32,
pub one_chance: bool,
pub off_at: Option<Timestamp>,
pub off_code: Option<String>,
}Expand description
A wait step with strikes.
Fields§
§dag_id: StringIts DAG.
task_id: StringThe wait step.
strikes: u32Its host kills in a row.
one_chance: boolSwitched on by new code: one strike switches it off again.
off_at: Option<Timestamp>When it was switched off, if it is.
off_code: Option<String>The code it was switched off on.
Trait Implementations§
Source§impl Clone for WaitStepStrikes
impl Clone for WaitStepStrikes
Source§fn clone(&self) -> WaitStepStrikes
fn clone(&self) -> WaitStepStrikes
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 WaitStepStrikes
impl Debug for WaitStepStrikes
impl Eq for WaitStepStrikes
Source§impl PartialEq for WaitStepStrikes
impl PartialEq for WaitStepStrikes
impl StructuralPartialEq for WaitStepStrikes
Auto Trait Implementations§
impl Freeze for WaitStepStrikes
impl RefUnwindSafe for WaitStepStrikes
impl Send for WaitStepStrikes
impl Sync for WaitStepStrikes
impl Unpin for WaitStepStrikes
impl UnsafeUnpin for WaitStepStrikes
impl UnwindSafe for WaitStepStrikes
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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