pub enum Readiness {
Ready,
TrainerReviewRequired {
gate: ReviewGate,
},
BehaviorOrCareReviewRequired {
gate: ReviewGate,
},
PackageOrPaymentReviewRequired {
gate: ReviewGate,
},
}Expand description
Enrollment readiness state and the review gate that blocks assignment when data, behavior, care, or payment facts are incomplete.
Variants§
Ready
Enrollment has enough source facts to draft trainer assignment.
TrainerReviewRequired
Review gate that must clear before this training decision affects assignment, package use, or parent-facing copy.
Fields
gate: ReviewGateApproval gate staff must clear before acting on this variant.
BehaviorOrCareReviewRequired
Review gate that must clear before this training decision affects assignment, package use, or parent-facing copy.
Fields
gate: ReviewGateApproval gate staff must clear before acting on this variant.
PackageOrPaymentReviewRequired
Review gate that must clear before this training decision affects assignment, package use, or parent-facing copy.
Fields
gate: ReviewGateApproval gate staff must clear before acting on this variant.
Implementations§
Source§impl Readiness
impl Readiness
Sourcepub fn blocking_gate(&self) -> Option<ReviewGate>
pub fn blocking_gate(&self) -> Option<ReviewGate>
Returns the review gate that blocks trainer assignment until staff clear it.