Struct trillium_http_types::headers::HeaderValues [−][src]
pub struct HeaderValues { /* fields omitted */ }Expand description
A list of HeaderValues.
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 = HeaderValueThe resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Performs the conversion.
Performs the conversion.
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for HeaderValuesimpl Send for HeaderValuesimpl Sync for HeaderValuesimpl Unpin for HeaderValuesimpl UnwindSafe for HeaderValuesBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V