#[repr(C)]pub struct aws_http_headers { /* private fields */ }
Expand description
A transformable block of HTTP headers. Provides a nice API for getting/setting header names and values.
All strings are copied and stored within this datastructure. The index of a given header may change any time headers are modified. When iterating headers, the following ordering rules apply:
-
Headers with the same name will always be in the same order, relative to one another. If “A: one” is added before “A: two”, then “A: one” will always precede “A: two”.
-
Headers with different names could be in any order, relative to one another. If “A: one” is seen before “B: bee” in one iteration, you might see “B: bee” before “A: one” on the next.
Trait Implementations
sourceimpl Clone for aws_http_headers
impl Clone for aws_http_headers
sourcefn clone(&self) -> aws_http_headers
fn clone(&self) -> aws_http_headers
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_http_headers
impl Debug for aws_http_headers
impl Copy for aws_http_headers
Auto Trait Implementations
impl RefUnwindSafe for aws_http_headers
impl Send for aws_http_headers
impl Sync for aws_http_headers
impl Unpin for aws_http_headers
impl UnwindSafe for aws_http_headers
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