Struct headers_ext::Location
source · 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
sourceimpl Header for Location
impl Header for Location
sourceconst NAME: &'static HeaderName = _
const NAME: &'static HeaderName = _
The name of this header.
impl StructuralPartialEq for Location
Auto Trait Implementations
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more