pub enum Decision {
AssignmentDrafted,
Waitlist {
reason: WaitlistReason,
gate: ReviewGate,
},
ReviewRequired {
reason: ReviewReason,
gate: ReviewGate,
},
}Expand description
Assignment decision showing whether to draft, waitlist, or require review before mutating provider schedules.
Variants§
AssignmentDrafted
Staff can see the assignment drafted training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
Waitlist
Staff can see the waitlist training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
Fields
reason: WaitlistReasonBusiness reason staff should review before proceeding.
gate: ReviewGateReview gate that must clear before this training decision affects assignment, package use, or parent-facing copy.
ReviewRequired
Staff can see the review required training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
Fields
reason: ReviewReasonBusiness reason staff should review before proceeding.
gate: ReviewGateReview gate that must clear before this training decision affects assignment, package use, or parent-facing copy.
Implementations§
Source§impl Decision
impl Decision
Sourcepub fn provider_mutation_gate(&self) -> Option<ReviewGate>
pub fn provider_mutation_gate(&self) -> Option<ReviewGate>
Returns the approval gate required before staff mutate provider trainer assignments.