pub struct WebAssessmentDefenseObservation { /* private fields */ }Expand description
One committed confidence-graded defense observation. A fingerprint is a product hint only, never a categorical WAF-presence claim.
Implementations§
Source§impl WebAssessmentDefenseObservation
impl WebAssessmentDefenseObservation
pub fn subject(&self) -> &EntityId
pub fn case_id(&self) -> &str
pub const fn stage(&self) -> DecisionExecutionStage
pub const fn status(&self) -> u16
Sourcepub const fn posture(&self) -> Option<DefensePosture>
pub const fn posture(&self) -> Option<DefensePosture>
Returns the bounded detector posture. Some(Open) means only that the
complete, uncapped UTF-8 detector prefix carried no positive signal; it
never means that a WAF or other defense is absent. Metadata-only and
capped Open observations return None.
pub const fn challenge_observed(&self) -> bool
pub const fn rate_limit_observed(&self) -> bool
pub const fn fingerprint_hint( &self, ) -> Option<(DefenseProduct, FingerprintConfidence)>
pub const fn body_coverage(&self) -> WebAssessmentDefenseBodyCoverage
pub const fn input_limit_reached(&self) -> bool
pub fn evidence_ids(&self) -> &[EvidenceId]
Trait Implementations§
Source§impl Clone for WebAssessmentDefenseObservation
impl Clone for WebAssessmentDefenseObservation
Source§fn clone(&self) -> WebAssessmentDefenseObservation
fn clone(&self) -> WebAssessmentDefenseObservation
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 moreimpl Eq for WebAssessmentDefenseObservation
impl StructuralPartialEq for WebAssessmentDefenseObservation
Auto Trait Implementations§
impl Freeze for WebAssessmentDefenseObservation
impl RefUnwindSafe for WebAssessmentDefenseObservation
impl Send for WebAssessmentDefenseObservation
impl Sync for WebAssessmentDefenseObservation
impl Unpin for WebAssessmentDefenseObservation
impl UnsafeUnpin for WebAssessmentDefenseObservation
impl UnwindSafe for WebAssessmentDefenseObservation
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