Struct safe_http_async::RequestHead
source · [−]pub struct RequestHead {
pub line: RequestLine,
pub headers: HeaderMap,
/* private fields */
}
Fields
line: RequestLine
headers: HeaderMap
Implementations
sourceimpl RequestHead
impl RequestHead
pub fn new() -> RequestHead
Trait Implementations
sourceimpl Clone for RequestHead
impl Clone for RequestHead
sourcefn clone(&self) -> RequestHead
fn clone(&self) -> RequestHead
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RequestHead
impl Debug for RequestHead
sourceimpl Default for RequestHead
impl Default for RequestHead
sourcefn default() -> RequestHead
fn default() -> RequestHead
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RequestHead> for RequestHead
impl PartialEq<RequestHead> for RequestHead
sourcefn eq(&self, other: &RequestHead) -> bool
fn eq(&self, other: &RequestHead) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RequestHead) -> bool
fn ne(&self, other: &RequestHead) -> bool
This method tests for !=
.
impl Eq for RequestHead
impl StructuralEq for RequestHead
impl StructuralPartialEq for RequestHead
Auto Trait Implementations
impl RefUnwindSafe for RequestHead
impl Send for RequestHead
impl Sync for RequestHead
impl Unpin for RequestHead
impl UnwindSafe for RequestHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more