pub struct AutoApproveKind;Expand description
Skip-everything task — used for “checkpoint” steps that exist solely to record progress without blocking on a human.
Trait Implementations§
Source§impl Default for AutoApproveKind
impl Default for AutoApproveKind
Source§impl TaskKind for AutoApproveKind
impl TaskKind for AutoApproveKind
Source§fn kind_name(&self) -> &'static str
fn kind_name(&self) -> &'static str
Discriminator stored in
WorkflowTask.kind. Globally unique
across the process.Source§fn verbose_name(&self) -> &'static str
fn verbose_name(&self) -> &'static str
Human-readable label for the workflow task editor’s “Kind”
dropdown. Defaults to
Self::kind_name.Source§fn on_assign(&self, _ctx: &AssignedTask<'_>) -> AssignOutcome
fn on_assign(&self, _ctx: &AssignedTask<'_>) -> AssignOutcome
Called when this task becomes the workflow’s current step.
Side-effects (firing webhooks, recording metrics) belong here. Read more
Auto Trait Implementations§
impl Forget for AutoApproveKind
impl Freeze for AutoApproveKind
impl RefUnwindSafe for AutoApproveKind
impl Send for AutoApproveKind
impl Sync for AutoApproveKind
impl Unpin for AutoApproveKind
impl UnsafeUnpin for AutoApproveKind
impl UnwindSafe for AutoApproveKind
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 moreCreates a shared type from an unshared type.