Struct rust_web_server::response::StatusCodeReasonPhrase
source · pub struct StatusCodeReasonPhrase {
pub status_code: &'static i16,
pub reason_phrase: &'static str,
}Fields§
§status_code: &'static i16§reason_phrase: &'static strTrait Implementations§
source§impl Clone for StatusCodeReasonPhrase
impl Clone for StatusCodeReasonPhrase
source§fn clone(&self) -> StatusCodeReasonPhrase
fn clone(&self) -> StatusCodeReasonPhrase
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 moresource§impl Debug for StatusCodeReasonPhrase
impl Debug for StatusCodeReasonPhrase
source§impl PartialEq<StatusCodeReasonPhrase> for StatusCodeReasonPhrase
impl PartialEq<StatusCodeReasonPhrase> for StatusCodeReasonPhrase
source§fn eq(&self, other: &StatusCodeReasonPhrase) -> bool
fn eq(&self, other: &StatusCodeReasonPhrase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.