pub struct WebExchange {
pub method: String,
pub status: u16,
pub final_uri: String,
pub media_type: Option<String>,
pub received_bytes: u64,
}Expand description
Provider-neutral request/response exchange facts.
Fields§
§method: String§status: u16§final_uri: String§media_type: Option<String>§received_bytes: u64Trait Implementations§
Source§impl Clone for WebExchange
impl Clone for WebExchange
Source§fn clone(&self) -> WebExchange
fn clone(&self) -> WebExchange
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 WebExchange
impl Debug for WebExchange
impl Eq for WebExchange
Source§impl PartialEq for WebExchange
impl PartialEq for WebExchange
impl StructuralPartialEq for WebExchange
Auto Trait Implementations§
impl Freeze for WebExchange
impl RefUnwindSafe for WebExchange
impl Send for WebExchange
impl Sync for WebExchange
impl Unpin for WebExchange
impl UnsafeUnpin for WebExchange
impl UnwindSafe for WebExchange
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