pub enum ReadinessDecision {
ReadyToCheckIn,
NeedsFrontDeskCollection,
NeedsCareTeamReview {
gate: ReviewGate,
},
NeedsManagerReview {
gate: ReviewGate,
},
BlockedForSafetyOrPolicy {
gate: ReviewGate,
},
}Expand description
Front-desk routing outcome for a daycare check-in ticket.
Variants§
ReadyToCheckIn
Ticket can move through the fast lane without extra collection or review.
NeedsFrontDeskCollection
Front desk must collect payment, package visits, or missing account information.
NeedsCareTeamReview
Human review gate required before this readiness state can proceed.
Fields
§
gate: ReviewGateGate carried by this variant.
NeedsManagerReview
Human review gate required before this readiness state can proceed.
Fields
§
gate: ReviewGateGate carried by this variant.
BlockedForSafetyOrPolicy
Human review gate required before this readiness state can proceed.
Fields
§
gate: ReviewGateGate carried by this variant.
Implementations§
Source§impl ReadinessDecision
impl ReadinessDecision
Sourcepub fn customer_message_gate(&self) -> Option<ReviewGate>
pub fn customer_message_gate(&self) -> Option<ReviewGate>
Returns any approval gate tied specifically to customer-message handling for this decision.
Trait Implementations§
Source§impl Clone for ReadinessDecision
impl Clone for ReadinessDecision
Source§fn clone(&self) -> ReadinessDecision
fn clone(&self) -> ReadinessDecision
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 ReadinessDecision
impl Debug for ReadinessDecision
Source§impl<'de> Deserialize<'de> for ReadinessDecision
impl<'de> Deserialize<'de> for ReadinessDecision
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 ReadinessDecision
impl PartialEq for ReadinessDecision
Source§impl Serialize for ReadinessDecision
impl Serialize for ReadinessDecision
impl Eq for ReadinessDecision
impl StructuralPartialEq for ReadinessDecision
Auto Trait Implementations§
impl Freeze for ReadinessDecision
impl RefUnwindSafe for ReadinessDecision
impl Send for ReadinessDecision
impl Sync for ReadinessDecision
impl Unpin for ReadinessDecision
impl UnsafeUnpin for ReadinessDecision
impl UnwindSafe for ReadinessDecision
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