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#tim
  • http://www.example.net/index.html

Examples

Trait Implementations

impl Clone for Location
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Location
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Location
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Location

impl Sync for Location