Struct http_types::headers::HeaderValues [−][src]
pub struct HeaderValues { /* fields omitted */ }
Expand description
A list of HeaderValue
s.
This always contains at least one header value.
Implementations
Move all values from other
into self
, leaving other
empty.
Returns a reference or a value depending on the type of index.
Returns a mutable reference or a value depending on the type of index.
Returns true
if there is a value corresponding to the specified HeaderValue
in the list,
false
otherwise.
Returns the last HeaderValue
.
Methods from Deref<Target = HeaderValue>
Trait Implementations
Performs the conversion.
Performs the conversion.
type Target = HeaderValue
type Target = HeaderValue
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Creates a value from an iterator. Read more
type Item = HeaderValue
type Item = HeaderValue
The type of the elements being iterated over.
type IntoIter = IntoIter<HeaderValue>
type IntoIter = IntoIter<HeaderValue>
Which kind of iterator are we turning this into?
Auto Trait Implementations
impl RefUnwindSafe for HeaderValues
impl Send for HeaderValues
impl Sync for HeaderValues
impl Unpin for HeaderValues
impl UnwindSafe for HeaderValues
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self