#[repr(C)]pub struct aws_http_header {
pub name: aws_byte_cursor,
pub value: aws_byte_cursor,
pub compression: aws_http_header_compression,
}
Expand description
A lightweight HTTP header struct. Note that the underlying strings are not owned by the byte cursors.
Fields
name: aws_byte_cursor
value: aws_byte_cursor
compression: aws_http_header_compression
Trait Implementations
sourceimpl Clone for aws_http_header
impl Clone for aws_http_header
sourcefn clone(&self) -> aws_http_header
fn clone(&self) -> aws_http_header
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_header
impl Debug for aws_http_header
sourceimpl Default for aws_http_header
impl Default for aws_http_header
sourceimpl PartialEq<aws_http_header> for aws_http_header
impl PartialEq<aws_http_header> for aws_http_header
sourcefn eq(&self, other: &aws_http_header) -> bool
fn eq(&self, other: &aws_http_header) -> bool
impl Copy for aws_http_header
impl Eq for aws_http_header
impl StructuralEq for aws_http_header
impl StructuralPartialEq for aws_http_header
Auto Trait Implementations
impl RefUnwindSafe for aws_http_header
impl !Send for aws_http_header
impl !Sync for aws_http_header
impl Unpin for aws_http_header
impl UnwindSafe for aws_http_header
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