pub enum GroupPlayDecision {
Eligible {
basis: EligibleBasis,
},
NeedsStaffReview {
reason: ReviewReason,
gate: ReviewGate,
},
Ineligible {
reason: DenialReason,
},
TemporarilySuspended {
pet_id: PetId,
gate: ReviewGate,
},
}Expand description
Eligibility outcome for admitting a pet to daycare group play.
Variants§
Eligible
Pet has sufficient current evidence for group-play admission.
Fields
§
basis: EligibleBasisEvidence basis that justified the eligible outcome.
NeedsStaffReview
Staff must review missing, stale, or sensitive evidence before group play.
Fields
§
reason: ReviewReasonOperational reason the pet cannot be auto-cleared for group play.
§
gate: ReviewGateHuman review gate required to clear the eligibility issue.
Ineligible
The requested service or care mode is not eligible for group play.
Fields
§
reason: DenialReasonOperational reason the pet cannot be auto-cleared for group play.
TemporarilySuspended
An incident restriction suspends group play pending manager review.
Fields
§
gate: ReviewGateHuman review gate required to clear the eligibility issue.
Trait Implementations§
Source§impl Clone for GroupPlayDecision
impl Clone for GroupPlayDecision
Source§fn clone(&self) -> GroupPlayDecision
fn clone(&self) -> GroupPlayDecision
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 GroupPlayDecision
impl Debug for GroupPlayDecision
Source§impl<'de> Deserialize<'de> for GroupPlayDecision
impl<'de> Deserialize<'de> for GroupPlayDecision
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 GroupPlayDecision
impl PartialEq for GroupPlayDecision
Source§impl Serialize for GroupPlayDecision
impl Serialize for GroupPlayDecision
impl Eq for GroupPlayDecision
impl StructuralPartialEq for GroupPlayDecision
Auto Trait Implementations§
impl Freeze for GroupPlayDecision
impl RefUnwindSafe for GroupPlayDecision
impl Send for GroupPlayDecision
impl Sync for GroupPlayDecision
impl Unpin for GroupPlayDecision
impl UnsafeUnpin for GroupPlayDecision
impl UnwindSafe for GroupPlayDecision
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