Struct wiremock::http::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 Output = <I as SliceIndex<[HeaderValue]>>::Output
type Output = <I as SliceIndex<[HeaderValue]>>::Output
The returned type after indexing.
type Item = HeaderValue
type Item = HeaderValue
The type of the elements being iterated over.
type IntoIter = IntoIter<HeaderValue, Global>
type IntoIter = IntoIter<HeaderValue, Global>
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
type Item = &'a HeaderValue
type Item = &'a HeaderValue
The type of the elements being iterated over.
Creates an iterator from a value. Read more
Returned iterator over header values which this type may correspond to.
Converts this object to an iterator of resolved HeaderValues
.
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
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