pub struct Location(HeaderValue);
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
Tuple Fields§
§0: HeaderValue
Trait Implementations§
source§impl Header for Location
impl Header for Location
source§impl PartialEq for Location
impl PartialEq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl !Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more