Struct mco_http::http::message::RequestHead
source · pub struct RequestHead {
pub headers: Headers,
pub method: Method,
pub url: Url,
}Expand description
Describes a request.
Fields§
§headers: HeadersThe headers of the request
method: MethodThe method of the request
url: UrlThe URL of the request
Trait Implementations§
source§impl Clone for RequestHead
impl Clone for RequestHead
source§fn clone(&self) -> RequestHead
fn clone(&self) -> RequestHead
Returns a copy of the value. Read more
1.0.0 · 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 !RefUnwindSafe for RequestHead
impl Send for RequestHead
impl !Sync for RequestHead
impl Unpin for RequestHead
impl !UnwindSafe for RequestHead
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