pub struct ExchangeContext {
pub baseline_status: u16,
pub probe_status: u16,
pub headers: Option<HeadersBundle>,
pub body_samples: Option<BodySamplesBundle>,
}Expand description
Always-present block: response status codes; --verbose adds headers and
body samples.
Fields§
§baseline_status: u16HTTP status code observed on the baseline response.
probe_status: u16HTTP status code observed on the probe response.
headers: Option<HeadersBundle>Filtered to security-relevant response headers, populated only by --verbose.
body_samples: Option<BodySamplesBundle>UTF-8-safe body samples (256-byte cap), populated only by --verbose.
Trait Implementations§
Source§impl Clone for ExchangeContext
impl Clone for ExchangeContext
Source§fn clone(&self) -> ExchangeContext
fn clone(&self) -> ExchangeContext
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 ExchangeContext
impl Debug for ExchangeContext
Source§impl<'de> Deserialize<'de> for ExchangeContext
impl<'de> Deserialize<'de> for ExchangeContext
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 ExchangeContext
impl RefUnwindSafe for ExchangeContext
impl Send for ExchangeContext
impl Sync for ExchangeContext
impl Unpin for ExchangeContext
impl UnsafeUnpin for ExchangeContext
impl UnwindSafe for ExchangeContext
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