pub struct RuntimeMetrics {
pub http_requests: u64,
pub http_retries: u64,
pub scanner_findings: BTreeMap<String, usize>,
pub scanner_errors: BTreeMap<String, usize>,
}Expand description
Runtime metrics emitted in report metadata.
Fields§
§http_requests: u64Total HTTP requests sent (includes retry attempts).
http_retries: u64Total retry attempts performed by the transport layer.
scanner_findings: BTreeMap<String, usize>Finding counts grouped by scanner name.
scanner_errors: BTreeMap<String, usize>Error counts grouped by scanner name.
Trait Implementations§
Source§impl Clone for RuntimeMetrics
impl Clone for RuntimeMetrics
Source§fn clone(&self) -> RuntimeMetrics
fn clone(&self) -> RuntimeMetrics
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 RuntimeMetrics
impl Debug for RuntimeMetrics
Source§impl Default for RuntimeMetrics
impl Default for RuntimeMetrics
Source§fn default() -> RuntimeMetrics
fn default() -> RuntimeMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeMetrics
impl<'de> Deserialize<'de> for RuntimeMetrics
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 RuntimeMetrics
impl RefUnwindSafe for RuntimeMetrics
impl Send for RuntimeMetrics
impl Sync for RuntimeMetrics
impl Unpin for RuntimeMetrics
impl UnsafeUnpin for RuntimeMetrics
impl UnwindSafe for RuntimeMetrics
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