pub struct ResponseStatsReport {
pub responses_parsed: u64,
pub string_fields: BTreeMap<String, BTreeMap<String, u64>>,
pub float_fields: BTreeMap<String, FloatFieldSummary>,
pub mismatch_counts: BTreeMap<String, u64>,
}Expand description
Summary of response body field analysis from a response template.
This is derived from ResponseStats in the response template domain.
HashMaps are promoted to BTreeMaps for stable JSON key ordering.
Fields§
§responses_parsed: u64Number of responses that were parsed and contributed to field statistics.
string_fields: BTreeMap<String, BTreeMap<String, u64>>Distribution of string-valued field extractions. Outer key is the field path, inner key is the extracted value, value is the count.
float_fields: BTreeMap<String, FloatFieldSummary>Summary statistics for float-valued field extractions.
mismatch_counts: BTreeMap<String, u64>Count of responses where a tracked field could not be extracted.
Trait Implementations§
Source§impl Debug for ResponseStatsReport
impl Debug for ResponseStatsReport
Auto Trait Implementations§
impl Freeze for ResponseStatsReport
impl RefUnwindSafe for ResponseStatsReport
impl Send for ResponseStatsReport
impl Sync for ResponseStatsReport
impl Unpin for ResponseStatsReport
impl UnsafeUnpin for ResponseStatsReport
impl UnwindSafe for ResponseStatsReport
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