pub enum Action {
CreateInternalTask {
recommendation: Recommendation,
},
DraftCustomerMessage {
customer_id: CustomerId,
reason: FollowUpReason,
},
EscalateToManager {
reason: Observation,
},
SuggestScheduleReview {
risk: LaborRisk,
},
SuggestRevenueFollowUp {
opportunity: RevenueOpportunityKind,
},
}Expand description
Proposed action that remains draft/recommendation until the workflow gate approves it.
Variants§
CreateInternalTask
Create internal task item surfaced for manager daily-brief triage.
Fields
§
recommendation: RecommendationRecommendation fact promoted into this daily brief contract.
DraftCustomerMessage
Draft customer message item surfaced for manager daily-brief triage.
Fields
§
customer_id: CustomerIdCustomer id fact promoted into this daily brief contract.
§
reason: FollowUpReasonBusiness reason staff should review before proceeding.
EscalateToManager
Escalate to manager item surfaced for manager daily-brief triage.
Fields
§
reason: ObservationBusiness reason staff should review before proceeding.
SuggestScheduleReview
Suggest schedule review item surfaced for manager daily-brief triage.
SuggestRevenueFollowUp
Suggest revenue follow up item surfaced for manager daily-brief triage.
Fields
§
opportunity: RevenueOpportunityKindOpportunity fact promoted into this daily brief contract.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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 Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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