pub struct ProbeContext {
pub baseline_url: String,
pub probe_url: String,
pub method: String,
pub headers: Option<HeadersBundle>,
}Expand description
Always-present block: what was actually sent on the wire.
headers is populated only when --verbose is set.
Fields§
§baseline_url: StringFinal URL of the baseline request after {id} substitution.
probe_url: StringFinal URL of the probe request after {id} substitution.
method: StringHTTP method, e.g. "GET".
headers: Option<HeadersBundle>Filtered to security-relevant request headers, populated only by
--verbose. NOT redacted — secrets appear verbatim.
Trait Implementations§
Source§impl Clone for ProbeContext
impl Clone for ProbeContext
Source§fn clone(&self) -> ProbeContext
fn clone(&self) -> ProbeContext
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 ProbeContext
impl Debug for ProbeContext
Source§impl<'de> Deserialize<'de> for ProbeContext
impl<'de> Deserialize<'de> for ProbeContext
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 ProbeContext
impl RefUnwindSafe for ProbeContext
impl Send for ProbeContext
impl Sync for ProbeContext
impl Unpin for ProbeContext
impl UnsafeUnpin for ProbeContext
impl UnwindSafe for ProbeContext
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