Struct salvo::http::headers::Location [−][src]
pub struct Location(_);
Expand description
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
The name of this header.
Decode this type from an iterator of HeaderValue
s.
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more