pub struct MonitoredRequest {
pub url: String,
pub method: String,
pub headers: HashMap<String, String>,
pub post_data: Option<String>,
}Available on crate feature
monitor only.Expand description
The request half of a completed HTTP exchange.
Fields§
§url: StringThe full request URL.
method: StringHTTP method (e.g. "GET", "POST").
headers: HashMap<String, String>Request headers as sent.
post_data: Option<String>Request body for POST/PUT requests, if present.
Trait Implementations§
Source§impl Clone for MonitoredRequest
impl Clone for MonitoredRequest
Source§fn clone(&self) -> MonitoredRequest
fn clone(&self) -> MonitoredRequest
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 moreAuto Trait Implementations§
impl Freeze for MonitoredRequest
impl RefUnwindSafe for MonitoredRequest
impl Send for MonitoredRequest
impl Sync for MonitoredRequest
impl Unpin for MonitoredRequest
impl UnsafeUnpin for MonitoredRequest
impl UnwindSafe for MonitoredRequest
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