Struct aws_sigv4::http_request::SigningInstructions
source · pub struct SigningInstructions { /* private fields */ }
Expand description
Instructions for applying a signature to an HTTP request.
Implementations§
source§impl SigningInstructions
impl SigningInstructions
sourcepub fn into_parts(self) -> (Vec<Header>, Vec<(&'static str, Cow<'static, str>)>)
pub fn into_parts(self) -> (Vec<Header>, Vec<(&'static str, Cow<'static, str>)>)
Returns the headers and query params that should be applied to this request
sourcepub fn headers(&self) -> impl Iterator<Item = (&str, &str)>
pub fn headers(&self) -> impl Iterator<Item = (&str, &str)>
Returns a reference to the headers that should be added to the request.
sourcepub fn params(&self) -> &[(&str, Cow<'static, str>)]
pub fn params(&self) -> &[(&str, Cow<'static, str>)]
Returns a reference to the query parameters that should be added to the request.
sourcepub fn apply_to_request_http0x<B>(self, request: &mut Request<B>)
pub fn apply_to_request_http0x<B>(self, request: &mut Request<B>)
Applies the instructions to the given request
.
sourcepub fn apply_to_request_http1x<B>(self, request: &mut Request<B>)
pub fn apply_to_request_http1x<B>(self, request: &mut Request<B>)
Applies the instructions to the given request
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SigningInstructions
impl RefUnwindSafe for SigningInstructions
impl Send for SigningInstructions
impl Sync for SigningInstructions
impl Unpin for SigningInstructions
impl UnwindSafe for SigningInstructions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.