pub struct RequestSnapshot {
pub method: String,
pub url: String,
pub http_version: String,
pub headers: Vec<HeaderEntry>,
pub headers_size: Option<u64>,
pub body_size: Option<u64>,
pub post_data: Option<RequestPostData>,
}Fields§
§method: String§url: String§http_version: String§headers: Vec<HeaderEntry>§headers_size: Option<u64>§body_size: Option<u64>§post_data: Option<RequestPostData>Trait Implementations§
Source§impl Clone for RequestSnapshot
impl Clone for RequestSnapshot
Source§fn clone(&self) -> RequestSnapshot
fn clone(&self) -> RequestSnapshot
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 RequestSnapshot
impl RefUnwindSafe for RequestSnapshot
impl Send for RequestSnapshot
impl Sync for RequestSnapshot
impl Unpin for RequestSnapshot
impl UnsafeUnpin for RequestSnapshot
impl UnwindSafe for RequestSnapshot
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