Struct aws_sigv4::http_request::SignableRequest [−][src]
#[non_exhaustive]pub struct SignableRequest<'a> { /* fields omitted */ }
Expand description
Represents all of the information necessary to sign an HTTP request.
Implementations
pub fn new(
method: &'a Method,
uri: &'a Uri,
headers: &'a HeaderMap<HeaderValue>,
body: SignableBody<'a>
) -> Self
pub fn new(
method: &'a Method,
uri: &'a Uri,
headers: &'a HeaderMap<HeaderValue>,
body: SignableBody<'a>
) -> Self
Creates a new SignableRequest
. If you have an http::Request
, then
consider using SignableRequest::from
instead of new
.
Returns the request headers
Returns the signable body
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SignableRequest<'a>
impl<'a> Send for SignableRequest<'a>
impl<'a> Sync for SignableRequest<'a>
impl<'a> Unpin for SignableRequest<'a>
impl<'a> UnwindSafe for SignableRequest<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
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