Struct headers_ext::Location [−][src]
pub struct Location(_);
Location header, defined in
RFC7231
The Location header field is used in some responses to refer to a
specific resource in relation to the response. The type of
relationship is defined by the combination of request method and
status code semantics.
ABNF
Location = URI-reference
Example values
/People.html#timhttp://www.example.net/index.html
Examples
Trait Implementations
impl Clone for Location[src]
impl Clone for Locationfn clone(&self) -> Location[src]
fn clone(&self) -> LocationReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Location[src]
impl Debug for Locationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Location[src]
impl PartialEq for Location