pub enum ApprovalState {
Draft,
TrainerApproved {
trainer_id: StaffId,
},
ManagerApproved {
manager_id: ManagerId,
},
Rejected {
gate: ReviewGate,
},
}Expand description
Approval state for progress reports before they become parent-facing summaries.
Variants§
Draft
Draft training operational signal for enrollment, curriculum, progress, package, or follow-up handling.
TrainerApproved
Trainer approved training operational signal for enrollment, curriculum, progress, package, or follow-up handling.
ManagerApproved
Manager approved training operational signal for enrollment, curriculum, progress, package, or follow-up handling.
Rejected
Rejected training operational signal for enrollment, curriculum, progress, package, or follow-up handling.
Fields
§
gate: ReviewGateSource-derived gate carried by this training contract.
Trait Implementations§
Source§impl Clone for ApprovalState
impl Clone for ApprovalState
Source§fn clone(&self) -> ApprovalState
fn clone(&self) -> ApprovalState
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 ApprovalState
impl Debug for ApprovalState
Source§impl<'de> Deserialize<'de> for ApprovalState
impl<'de> Deserialize<'de> for ApprovalState
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 ApprovalState
impl PartialEq for ApprovalState
Source§impl Serialize for ApprovalState
impl Serialize for ApprovalState
impl Eq for ApprovalState
impl StructuralPartialEq for ApprovalState
Auto Trait Implementations§
impl Freeze for ApprovalState
impl RefUnwindSafe for ApprovalState
impl Send for ApprovalState
impl Sync for ApprovalState
impl Unpin for ApprovalState
impl UnsafeUnpin for ApprovalState
impl UnwindSafe for ApprovalState
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