pub struct ShadowPlanDelta { /* private fields */ }Expand description
The explainable difference the defense signal makes to the current plan.
Implementations§
Source§impl ShadowPlanDelta
impl ShadowPlanDelta
Sourcepub fn deprioritized(&self) -> &[PlanAdjustment]
pub fn deprioritized(&self) -> &[PlanAdjustment]
Returns the current-plan actions kept but deprioritized.
Sourcepub fn suppressed(&self) -> &[SuppressedAction]
pub fn suppressed(&self) -> &[SuppressedAction]
Returns the current-plan actions removed from the shadow plan.
Trait Implementations§
Source§impl Clone for ShadowPlanDelta
impl Clone for ShadowPlanDelta
Source§fn clone(&self) -> ShadowPlanDelta
fn clone(&self) -> ShadowPlanDelta
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 ShadowPlanDelta
impl Debug for ShadowPlanDelta
Source§impl Default for ShadowPlanDelta
impl Default for ShadowPlanDelta
Source§fn default() -> ShadowPlanDelta
fn default() -> ShadowPlanDelta
Returns the “default value” for a type. Read more
impl Eq for ShadowPlanDelta
Source§impl PartialEq for ShadowPlanDelta
impl PartialEq for ShadowPlanDelta
impl StructuralPartialEq for ShadowPlanDelta
Auto Trait Implementations§
impl Freeze for ShadowPlanDelta
impl RefUnwindSafe for ShadowPlanDelta
impl Send for ShadowPlanDelta
impl Sync for ShadowPlanDelta
impl Unpin for ShadowPlanDelta
impl UnsafeUnpin for ShadowPlanDelta
impl UnwindSafe for ShadowPlanDelta
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