Struct safe_http::ResponseHead
source · [−]pub struct ResponseHead {
pub line: ResponseLine,
pub headers: HeaderMap,
/* private fields */
}
Fields
line: ResponseLine
headers: HeaderMap
Implementations
sourceimpl ResponseHead
impl ResponseHead
Trait Implementations
sourceimpl Clone for ResponseHead
impl Clone for ResponseHead
sourcefn clone(&self) -> ResponseHead
fn clone(&self) -> ResponseHead
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 ResponseHead
impl Debug for ResponseHead
sourceimpl Default for ResponseHead
impl Default for ResponseHead
sourcefn default() -> ResponseHead
fn default() -> ResponseHead
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ResponseHead> for ResponseHead
impl PartialEq<ResponseHead> for ResponseHead
sourcefn eq(&self, other: &ResponseHead) -> bool
fn eq(&self, other: &ResponseHead) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ResponseHead) -> bool
fn ne(&self, other: &ResponseHead) -> bool
This method tests for !=
.
impl Eq for ResponseHead
impl StructuralEq for ResponseHead
impl StructuralPartialEq for ResponseHead
Auto Trait Implementations
impl RefUnwindSafe for ResponseHead
impl Send for ResponseHead
impl Sync for ResponseHead
impl Unpin for ResponseHead
impl UnwindSafe for ResponseHead
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