pub struct DeterministicResult { /* private fields */ }Expand description
Deterministic result carried by the booking-readiness workflow; it keeps booking work grounded in deterministic policy evidence before any agent draft reaches staff.
Implementations§
Source§impl DeterministicResult
impl DeterministicResult
Sourcepub fn evaluate(rule_evaluations: Vec<Evaluation>) -> Self
pub fn evaluate(rule_evaluations: Vec<Evaluation>) -> Self
Builds or derives evaluate data for the booking-readiness workflow contract.
Sourcepub const fn recommended_status(&self) -> ReadinessBucket
pub const fn recommended_status(&self) -> ReadinessBucket
Returns the recommended status carried by this booking-readiness workflow value.
Sourcepub fn requires(&self, gate: ApprovalGate) -> bool
pub fn requires(&self, gate: ApprovalGate) -> bool
Reports whether the booking-readiness workflow satisfies the requires safety condition.
Sourcepub fn blocked_actions(&self) -> &[BlockedAction]
pub fn blocked_actions(&self) -> &[BlockedAction]
Returns the blocked actions carried by this booking-readiness workflow value.
Sourcepub fn rule_evaluations(&self) -> &[Evaluation]
pub fn rule_evaluations(&self) -> &[Evaluation]
Returns the rule evaluations carried by this booking-readiness workflow value.
Sourcepub fn staff_may_confirm_without_human_gate(&self) -> bool
pub fn staff_may_confirm_without_human_gate(&self) -> bool
Returns the staff may confirm without human gate carried by this booking-readiness workflow value.
Sourcepub const fn staff_decision_boundary(&self) -> StaffDecisionBoundary
pub const fn staff_decision_boundary(&self) -> StaffDecisionBoundary
Returns the staff decision boundary carried by this booking-readiness workflow value.
Trait Implementations§
Source§impl Clone for DeterministicResult
impl Clone for DeterministicResult
Source§fn clone(&self) -> DeterministicResult
fn clone(&self) -> DeterministicResult
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 DeterministicResult
impl Debug for DeterministicResult
Source§impl<'de> Deserialize<'de> for DeterministicResult
impl<'de> Deserialize<'de> for DeterministicResult
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 DeterministicResult
impl PartialEq for DeterministicResult
Source§impl Serialize for DeterministicResult
impl Serialize for DeterministicResult
impl Eq for DeterministicResult
impl StructuralPartialEq for DeterministicResult
Auto Trait Implementations§
impl Freeze for DeterministicResult
impl RefUnwindSafe for DeterministicResult
impl Send for DeterministicResult
impl Sync for DeterministicResult
impl Unpin for DeterministicResult
impl UnsafeUnpin for DeterministicResult
impl UnwindSafe for DeterministicResult
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