pub enum State {
NotDue,
TrainerEvidenceRequired {
gate: ReviewGate,
},
DraftRequiresApproval {
gate: ReviewGate,
},
Suppressed,
}Expand description
Follow-up state that keeps due/not-due, trainer-evidence, approval, and suppression decisions explicit.
Variants§
NotDue
Staff can see the not due training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
TrainerEvidenceRequired
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.
DraftRequiresApproval
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.
Suppressed
Staff can see the suppressed training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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