pub struct PlanAdjustment { /* private fields */ }Expand description
One action kept but deprioritized in the shadow plan.
Implementations§
Source§impl PlanAdjustment
impl PlanAdjustment
Sourcepub const fn interaction_class(&self) -> DefenseInteractionClass
pub const fn interaction_class(&self) -> DefenseInteractionClass
Returns the action’s interaction class.
Sourcepub const fn recommendation(&self) -> DefenseResponse
pub const fn recommendation(&self) -> DefenseResponse
Returns the recommendation that drove the decision.
Sourcepub fn supporting_evidence_ids(&self) -> &[EvidenceId]
pub fn supporting_evidence_ids(&self) -> &[EvidenceId]
Returns the evidence ids supporting the decision.
Sourcepub const fn explanation_code(&self) -> &'static str
pub const fn explanation_code(&self) -> &'static str
Returns the stable explanation code.
Trait Implementations§
Source§impl Clone for PlanAdjustment
impl Clone for PlanAdjustment
Source§fn clone(&self) -> PlanAdjustment
fn clone(&self) -> PlanAdjustment
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 PlanAdjustment
impl Debug for PlanAdjustment
impl Eq for PlanAdjustment
Source§impl PartialEq for PlanAdjustment
impl PartialEq for PlanAdjustment
impl StructuralPartialEq for PlanAdjustment
Auto Trait Implementations§
impl Freeze for PlanAdjustment
impl RefUnwindSafe for PlanAdjustment
impl Send for PlanAdjustment
impl Sync for PlanAdjustment
impl Unpin for PlanAdjustment
impl UnsafeUnpin for PlanAdjustment
impl UnwindSafe for PlanAdjustment
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