pub enum Risk {
CapacityConstraint {
service: ServiceKind,
},
LaborMismatch {
risk: LaborRisk,
},
CustomerExperienceRisk {
observation: Observation,
},
PetSafetyOrCareRisk {
observation: Observation,
},
RevenueLeakage {
observation: Observation,
},
}Expand description
Manager-visible risk derived from occupancy, labor, customer, care, or revenue evidence.
Variants§
CapacityConstraint
Demand may exceed capacity for the service and should interrupt normal planning.
Fields
§
service: ServiceKindRequested service that drives scheduling and labor estimates.
LaborMismatch
Staffing coverage may not match demand and should drive schedule review.
CustomerExperienceRisk
Customer-experience signal needing manager review before follow-up.
Fields
§
observation: ObservationSource-backed observation explaining the risk for reviewers.
PetSafetyOrCareRisk
Pet safety or care signal that should route to care/manager review.
Fields
§
observation: ObservationSource-backed care observation explaining the safety concern.
RevenueLeakage
Revenue signal that may deserve follow-up but stays review-gated.
Fields
§
observation: ObservationSource-backed revenue observation for manager review.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Risk
impl<'de> Deserialize<'de> for Risk
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 Risk
impl StructuralPartialEq for Risk
Auto Trait Implementations§
impl Freeze for Risk
impl RefUnwindSafe for Risk
impl Send for Risk
impl Sync for Risk
impl Unpin for Risk
impl UnsafeUnpin for Risk
impl UnwindSafe for Risk
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