pub struct AiRecommendation { /* private fields */ }Expand description
Ai recommendation carried by the booking-readiness workflow; it keeps booking work grounded in deterministic policy evidence before any agent draft reaches staff.
Implementations§
Source§impl AiRecommendation
impl AiRecommendation
Sourcepub const fn new(
recommended_action: AgentRecommendedAction,
rationale: RecommendationText,
) -> Self
pub const fn new( recommended_action: AgentRecommendedAction, rationale: RecommendationText, ) -> Self
Builds the booking-triage service around a read-only reservation evidence repository.
Sourcepub const fn recommend_staff_confirmation(rationale: RecommendationText) -> Self
pub const fn recommend_staff_confirmation(rationale: RecommendationText) -> Self
Builds or derives recommend staff confirmation data for the booking-readiness workflow contract.
Sourcepub const fn recommended_action(&self) -> AgentRecommendedAction
pub const fn recommended_action(&self) -> AgentRecommendedAction
Returns the recommended action carried by this booking-readiness workflow value.
Sourcepub const fn rationale(&self) -> &RecommendationText
pub const fn rationale(&self) -> &RecommendationText
Returns the rationale carried by this booking-readiness workflow value.
Trait Implementations§
Source§impl Clone for AiRecommendation
impl Clone for AiRecommendation
Source§fn clone(&self) -> AiRecommendation
fn clone(&self) -> AiRecommendation
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 AiRecommendation
impl Debug for AiRecommendation
Source§impl<'de> Deserialize<'de> for AiRecommendation
impl<'de> Deserialize<'de> for AiRecommendation
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 AiRecommendation
impl PartialEq for AiRecommendation
Source§impl Serialize for AiRecommendation
impl Serialize for AiRecommendation
impl Eq for AiRecommendation
impl StructuralPartialEq for AiRecommendation
Auto Trait Implementations§
impl Freeze for AiRecommendation
impl RefUnwindSafe for AiRecommendation
impl Send for AiRecommendation
impl Sync for AiRecommendation
impl Unpin for AiRecommendation
impl UnsafeUnpin for AiRecommendation
impl UnwindSafe for AiRecommendation
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