pub struct JsonReport {Show 14 fields
pub target: String,
pub injection_point: String,
pub samples_per_class: usize,
pub jitter_ms: f64,
pub estimated_leak_us: f64,
pub significant: bool,
pub bootstrap_confidence: f64,
pub bootstrap_iterations: usize,
pub ci_low_us: f64,
pub ci_high_us: f64,
pub failed_requests: usize,
pub seed: u64,
pub timestamp_unix: u64,
pub sidecheck_version: String,
}Expand description
Machine-readable report for CI/automation/bug bounty attachments. Always carries the sidecheck version and seed — a year from now the statistics algorithm may have changed, and without a version an old report becomes unclear about what to trust.
Fields§
§target: String§injection_point: String§samples_per_class: usize§jitter_ms: f64§estimated_leak_us: f64§significant: bool§bootstrap_confidence: f64§bootstrap_iterations: usize§ci_low_us: f64§ci_high_us: f64§failed_requests: usize§seed: u64§timestamp_unix: u64§sidecheck_version: StringImplementations§
Source§impl JsonReport
impl JsonReport
pub fn from_detection(report: &DetectionReport) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonReport
impl<'de> Deserialize<'de> for JsonReport
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
Auto Trait Implementations§
impl Freeze for JsonReport
impl RefUnwindSafe for JsonReport
impl Send for JsonReport
impl Sync for JsonReport
impl Unpin for JsonReport
impl UnsafeUnpin for JsonReport
impl UnwindSafe for JsonReport
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