pub struct PhaseProfile {
pub phase_number: u8,
pub phase_name: String,
pub start_time: u64,
pub end_time: u64,
pub duration_ms: u64,
pub requests_sent: u64,
pub responses_received: u64,
pub findings_discovered: u64,
pub error_count: u64,
pub response_time_samples_ms: Vec<u64>,
}Expand description
Caller-supplied measurements for one phase.
Fields§
§phase_number: u8§phase_name: String§start_time: u64§end_time: u64§duration_ms: u64§requests_sent: u64§responses_received: u64§findings_discovered: u64§error_count: u64§response_time_samples_ms: Vec<u64>Implementations§
Source§impl PhaseProfile
impl PhaseProfile
pub fn response_request_ratio_percent(&self) -> Option<f64>
pub fn findings_per_100_responses(&self) -> Option<f64>
pub fn mean_response_time_ms(&self) -> Option<f64>
Trait Implementations§
Source§impl Clone for PhaseProfile
impl Clone for PhaseProfile
Source§fn clone(&self) -> PhaseProfile
fn clone(&self) -> PhaseProfile
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 PhaseProfile
impl Debug for PhaseProfile
Source§impl<'de> Deserialize<'de> for PhaseProfile
impl<'de> Deserialize<'de> for PhaseProfile
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
impl Eq for PhaseProfile
Source§impl PartialEq for PhaseProfile
impl PartialEq for PhaseProfile
Source§impl Serialize for PhaseProfile
impl Serialize for PhaseProfile
impl StructuralPartialEq for PhaseProfile
Auto Trait Implementations§
impl Freeze for PhaseProfile
impl RefUnwindSafe for PhaseProfile
impl Send for PhaseProfile
impl Sync for PhaseProfile
impl Unpin for PhaseProfile
impl UnsafeUnpin for PhaseProfile
impl UnwindSafe for PhaseProfile
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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