pub struct HttpResponseHeader {
pub http_version: String,
pub response_code: i32,
pub response_message: Option<String>,
}
Fields§
§http_version: String
§response_code: i32
§response_message: Option<String>
Trait Implementations§
Source§impl Clone for HttpResponseHeader
impl Clone for HttpResponseHeader
Source§fn clone(&self) -> HttpResponseHeader
fn clone(&self) -> HttpResponseHeader
Returns a duplicate 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 moreSource§impl Debug for HttpResponseHeader
impl Debug for HttpResponseHeader
Source§impl<'de> Deserialize<'de> for HttpResponseHeader
impl<'de> Deserialize<'de> for HttpResponseHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<String> for HttpResponseHeader
impl From<String> for HttpResponseHeader
Auto Trait Implementations§
impl Freeze for HttpResponseHeader
impl RefUnwindSafe for HttpResponseHeader
impl Send for HttpResponseHeader
impl Sync for HttpResponseHeader
impl Unpin for HttpResponseHeader
impl UnwindSafe for HttpResponseHeader
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