pub struct ResponseStatsReport {
pub responses_parsed: usize,
pub string_fields: BTreeMap<String, BTreeMap<String, usize>>,
pub float_fields: BTreeMap<String, FloatFieldSummary>,
pub mismatch_counts: BTreeMap<String, usize>,
}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: usizeNumber of results in the reservoir whose response body was valid JSON and matched the response template. Reflects only the parsed sample, not the full unsampled population when sampling was active.
string_fields: BTreeMap<String, BTreeMap<String, usize>>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, usize>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