pub struct GroupApprovalKind;Expand description
Default — a role member must approve via the existing UI.
Trait Implementations§
Source§impl Default for GroupApprovalKind
impl Default for GroupApprovalKind
Source§impl TaskKind for GroupApprovalKind
impl TaskKind for GroupApprovalKind
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 GroupApprovalKind
impl Freeze for GroupApprovalKind
impl RefUnwindSafe for GroupApprovalKind
impl Send for GroupApprovalKind
impl Sync for GroupApprovalKind
impl Unpin for GroupApprovalKind
impl UnsafeUnpin for GroupApprovalKind
impl UnwindSafe for GroupApprovalKind
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.