pub struct OracleVerdict {
pub passed: bool,
pub status_delta: i16,
pub body_delta: i32,
pub latency_ms: u32,
pub confidence: f64,
pub triggered_rules: u32,
}Expand description
Rich oracle verdict providing gradient signals for fitness.
Fields§
§passed: boolWhether the payload passed the WAF.
status_delta: i16Delta from baseline response status code.
body_delta: i32Delta from baseline response body size.
latency_ms: u32Response latency in milliseconds.
confidence: f64Oracle confidence (0.0–1.0).
triggered_rules: u32Number of WAF rules triggered.
Implementations§
Source§impl OracleVerdict
impl OracleVerdict
Trait Implementations§
Source§impl Clone for OracleVerdict
impl Clone for OracleVerdict
Source§fn clone(&self) -> OracleVerdict
fn clone(&self) -> OracleVerdict
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 OracleVerdict
impl Debug for OracleVerdict
Source§impl Default for OracleVerdict
impl Default for OracleVerdict
Source§impl<'de> Deserialize<'de> for OracleVerdict
impl<'de> Deserialize<'de> for OracleVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OracleVerdict
impl PartialEq for OracleVerdict
Source§fn eq(&self, other: &OracleVerdict) -> bool
fn eq(&self, other: &OracleVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OracleVerdict
impl Serialize for OracleVerdict
impl Copy for OracleVerdict
impl StructuralPartialEq for OracleVerdict
Auto Trait Implementations§
impl Freeze for OracleVerdict
impl RefUnwindSafe for OracleVerdict
impl Send for OracleVerdict
impl Sync for OracleVerdict
impl Unpin for OracleVerdict
impl UnsafeUnpin for OracleVerdict
impl UnwindSafe for OracleVerdict
Blanket Implementations§
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