pub enum Decision {
Assigned {
pet_id: PetId,
playgroup: PlaygroupId,
},
Waitlist {
reason: WaitlistReason,
gate: ReviewGate,
},
Blocked {
reason: BlockReason,
gate: ReviewGate,
},
}Expand description
Playgroup assignment outcome staff can act on or review.
Variants§
Assigned
Pet may be placed in the requested playgroup.
Fields
§
playgroup: PlaygroupIdCandidate playgroup selected from resort operations data.
Waitlist
Pet is eligible, but staffing coverage prevents immediate assignment.
Fields
§
reason: WaitlistReasonOperational reason the assignment is not automatically clear.
§
gate: ReviewGateHuman review gate required before staff override this assignment outcome.
Blocked
Pet cannot be assigned until eligibility or safety review clears.
Fields
§
reason: BlockReasonOperational reason the assignment is not automatically clear.
§
gate: ReviewGateHuman review gate required before staff override this assignment outcome.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Decision
impl<'de> Deserialize<'de> for Decision
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 Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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