pub struct ObservatorySample {
pub source_id: String,
pub provider: AntiBotProvider,
pub confidence: f64,
pub total_requests: u64,
pub blocked_requests: u64,
pub blocked_ratio: f64,
pub escalation: ObservatoryEscalation,
pub execution_mode: ExecutionMode,
pub session_mode: SessionMode,
pub telemetry_level: TelemetryLevel,
pub risk_score: f64,
}Expand description
Summarized outcome for one baseline/external observatory case.
Fields§
§source_id: StringSource identifier for this sample.
provider: AntiBotProviderAggregate provider predicted from the HAR.
confidence: f64Aggregate provider confidence in [0.0, 1.0].
total_requests: u64Total requests in this HAR.
blocked_requests: u64Blocked/challenged requests in this HAR.
blocked_ratio: f64Blocked ratio in [0.0, 1.0].
escalation: ObservatoryEscalationDerived escalation level for this source.
execution_mode: ExecutionModePlanned execution mode for this source.
session_mode: SessionModePlanned session mode for this source.
telemetry_level: TelemetryLevelPlanned telemetry level for this source.
risk_score: f64Planned risk score in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for ObservatorySample
impl Clone for ObservatorySample
Source§fn clone(&self) -> ObservatorySample
fn clone(&self) -> ObservatorySample
Returns a duplicate of the value. Read more
1.0.0 · 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 ObservatorySample
impl Debug for ObservatorySample
Source§impl<'de> Deserialize<'de> for ObservatorySample
impl<'de> Deserialize<'de> for ObservatorySample
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 ObservatorySample
impl PartialEq for ObservatorySample
Source§impl Serialize for ObservatorySample
impl Serialize for ObservatorySample
impl StructuralPartialEq for ObservatorySample
Auto Trait Implementations§
impl Freeze for ObservatorySample
impl RefUnwindSafe for ObservatorySample
impl Send for ObservatorySample
impl Sync for ObservatorySample
impl Unpin for ObservatorySample
impl UnsafeUnpin for ObservatorySample
impl UnwindSafe for ObservatorySample
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