pub struct ExperienceAssessment { /* private fields */ }Expand description
Explainable assessment of action history for one subject.
Implementations§
Source§impl ExperienceAssessment
impl ExperienceAssessment
Sourcepub fn completed_attempts(&self) -> usize
pub fn completed_attempts(&self) -> usize
Returns the number of distinct cases with completed attempts.
Sourcepub fn consecutive_failures(&self) -> u16
pub fn consecutive_failures(&self) -> u16
Returns suppression-eligible negatives since the most recent success.
This compatibility name no longer counts target blocks, policy blocks, operational failures, or inconclusive verification.
Sourcepub fn consecutive_suppressible_failures(&self) -> u16
pub fn consecutive_suppressible_failures(&self) -> u16
Returns suppression-eligible verified negatives since the most recent success.
Sourcepub fn last_status(&self) -> Option<OutcomeStatus>
pub fn last_status(&self) -> Option<OutcomeStatus>
Returns the latest completed status, if one exists.
Sourcepub fn last_stage(&self) -> Option<VerificationStage>
pub fn last_stage(&self) -> Option<VerificationStage>
Returns the latest completed verification stage, if one exists.
Sourcepub fn last_disposition(&self) -> Option<ExperienceDisposition>
pub fn last_disposition(&self) -> Option<ExperienceDisposition>
Returns the latest completed attempt classification, if one exists.
Sourcepub fn recommendation(&self) -> ExperienceRecommendation
pub fn recommendation(&self) -> ExperienceRecommendation
Returns the deterministic learning recommendation.
Sourcepub fn is_suppressed(&self) -> bool
pub fn is_suppressed(&self) -> bool
Returns whether policy recommends excluding the action.
Trait Implementations§
Source§impl Clone for ExperienceAssessment
impl Clone for ExperienceAssessment
Source§fn clone(&self) -> ExperienceAssessment
fn clone(&self) -> ExperienceAssessment
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 ExperienceAssessment
impl Debug for ExperienceAssessment
impl Eq for ExperienceAssessment
Source§impl PartialEq for ExperienceAssessment
impl PartialEq for ExperienceAssessment
Source§impl Serialize for ExperienceAssessment
impl Serialize for ExperienceAssessment
impl StructuralPartialEq for ExperienceAssessment
Auto Trait Implementations§
impl Freeze for ExperienceAssessment
impl RefUnwindSafe for ExperienceAssessment
impl Send for ExperienceAssessment
impl Sync for ExperienceAssessment
impl Unpin for ExperienceAssessment
impl UnsafeUnpin for ExperienceAssessment
impl UnwindSafe for ExperienceAssessment
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