pub enum OutcomeReviewState {
Draft,
TrainerApproved {
trainer_id: StaffId,
},
ApprovedForMemberFacingUse {
approved_by: StaffId,
},
Rejected {
gate: ReviewGate,
},
}Expand description
Review state for outcome documentation before achievements are exposed to customers.
Variants§
Draft
Staff can see the draft training state during training enrollment, curriculum, progress, package, trainer-capacity, or follow-up review.
TrainerApproved
Trainer identifier used by staff to prepare training assignment, package, progress, or parent-summary review.
ApprovedForMemberFacingUse
Approved by used by staff to prepare training assignment, package, progress, or parent-summary review.
Rejected
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.
Trait Implementations§
Source§impl Clone for OutcomeReviewState
impl Clone for OutcomeReviewState
Source§fn clone(&self) -> OutcomeReviewState
fn clone(&self) -> OutcomeReviewState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutcomeReviewState
impl Debug for OutcomeReviewState
Source§impl<'de> Deserialize<'de> for OutcomeReviewState
impl<'de> Deserialize<'de> for OutcomeReviewState
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
Source§impl PartialEq for OutcomeReviewState
impl PartialEq for OutcomeReviewState
Source§impl Serialize for OutcomeReviewState
impl Serialize for OutcomeReviewState
impl Eq for OutcomeReviewState
impl StructuralPartialEq for OutcomeReviewState
Auto Trait Implementations§
impl Freeze for OutcomeReviewState
impl RefUnwindSafe for OutcomeReviewState
impl Send for OutcomeReviewState
impl Sync for OutcomeReviewState
impl Unpin for OutcomeReviewState
impl UnsafeUnpin for OutcomeReviewState
impl UnwindSafe for OutcomeReviewState
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