pub enum ApprovalState {
Draft,
ReviewRequired {
gate: ReviewGate,
},
ApprovedByGroomer {
groomer_id: StaffId,
},
Rejected {
gate: ReviewGate,
},
}Expand description
Decision vocabulary for approval state in grooming workflows.
Variants§
Draft
Draft grooming operational signal for schedule, estimate, history, or review handling.
ReviewRequired
Source-derived gate carried by this grooming contract.
Fields
§
gate: ReviewGateGate value carried by this review or workflow variant.
ApprovedByGroomer
Source-derived groomer id carried by this grooming contract.
Rejected
Source-derived gate carried by this grooming contract.
Fields
§
gate: ReviewGateGate value carried by this review or workflow variant.
Implementations§
Source§impl ApprovalState
impl ApprovalState
Sourcepub const fn requires_review(&self) -> bool
pub const fn requires_review(&self) -> bool
Reports whether care-team review is needed before proceeding.
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