pub struct AdaptiveDecision { /* private fields */ }Expand description
Immutable adaptive decision for one verification outcome.
Implementations§
Source§impl AdaptiveDecision
impl AdaptiveDecision
Sourcepub fn source_action_id(&self) -> &str
pub fn source_action_id(&self) -> &str
Returns the action that produced the source outcome.
Sourcepub fn outcome_status(&self) -> OutcomeStatus
pub fn outcome_status(&self) -> OutcomeStatus
Returns the source outcome classification.
Sourcepub fn outcome_stage(&self) -> VerificationStage
pub fn outcome_stage(&self) -> VerificationStage
Returns the source verification stage.
Sourcepub fn selected_rule_id(&self) -> Option<&str>
pub fn selected_rule_id(&self) -> Option<&str>
Returns the winning policy identity, if a policy matched.
Sourcepub fn directive(&self) -> &PipelineDirective
pub fn directive(&self) -> &PipelineDirective
Returns the side-effect-free runner directive.
Sourcepub fn evaluations(&self) -> &[AdaptationRuleEvaluation]
pub fn evaluations(&self) -> &[AdaptationRuleEvaluation]
Returns policy evaluations in stable rule-ID order.
Sourcepub fn transition_limit_reached(&self) -> bool
pub fn transition_limit_reached(&self) -> bool
Returns whether the global transition budget forced a halt.
Trait Implementations§
Source§impl Clone for AdaptiveDecision
impl Clone for AdaptiveDecision
Source§fn clone(&self) -> AdaptiveDecision
fn clone(&self) -> AdaptiveDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdaptiveDecision
impl Debug for AdaptiveDecision
impl Eq for AdaptiveDecision
Source§impl PartialEq for AdaptiveDecision
impl PartialEq for AdaptiveDecision
Source§impl Serialize for AdaptiveDecision
impl Serialize for AdaptiveDecision
impl StructuralPartialEq for AdaptiveDecision
Auto Trait Implementations§
impl Freeze for AdaptiveDecision
impl RefUnwindSafe for AdaptiveDecision
impl Send for AdaptiveDecision
impl Sync for AdaptiveDecision
impl Unpin for AdaptiveDecision
impl UnsafeUnpin for AdaptiveDecision
impl UnwindSafe for AdaptiveDecision
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more