pub struct PhaseMetrics {
pub phase_number: u8,
pub phase_name: String,
pub requests: u64,
pub responses: u64,
pub findings: u64,
pub duration_ms: u64,
pub response_time_samples_ms: Vec<u64>,
}Expand description
Phase-specific raw measurements supplied by the caller.
Fields§
§phase_number: u8§phase_name: String§requests: u64§responses: u64§findings: u64§duration_ms: u64§response_time_samples_ms: Vec<u64>Implementations§
Source§impl PhaseMetrics
impl PhaseMetrics
pub fn mean_response_time_ms(&self) -> Option<f64>
pub fn response_request_ratio_percent(&self) -> Option<f64>
Trait Implementations§
Source§impl Clone for PhaseMetrics
impl Clone for PhaseMetrics
Source§fn clone(&self) -> PhaseMetrics
fn clone(&self) -> PhaseMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PhaseMetrics
impl Debug for PhaseMetrics
impl Eq for PhaseMetrics
Source§impl PartialEq for PhaseMetrics
impl PartialEq for PhaseMetrics
impl StructuralPartialEq for PhaseMetrics
Auto Trait Implementations§
impl Freeze for PhaseMetrics
impl RefUnwindSafe for PhaseMetrics
impl Send for PhaseMetrics
impl Sync for PhaseMetrics
impl Unpin for PhaseMetrics
impl UnsafeUnpin for PhaseMetrics
impl UnwindSafe for PhaseMetrics
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more