pub struct ParsedAuth {
pub algorithm: String,
pub access_key_id: String,
pub date: String,
pub region: String,
pub service: String,
pub signed_headers: Vec<String>,
pub signature: String,
}Expand description
Parsed components of an AWS SigV4 Authorization header.
Format:
AWS4-HMAC-SHA256 Credential=AKID/20130524/us-east-1/s3/aws4_request,
SignedHeaders=host;x-amz-content-sha256;x-amz-date,
Signature=<hex-signature>Fields§
§algorithm: StringThe signing algorithm (must be AWS4-HMAC-SHA256).
access_key_id: StringThe access key ID.
date: StringThe date component of the credential scope (YYYYMMDD).
region: StringThe AWS region from the credential scope.
service: StringThe AWS service from the credential scope.
signed_headers: Vec<String>The list of signed header names (lowercase).
signature: StringThe hex-encoded signature.
Trait Implementations§
Source§impl Clone for ParsedAuth
impl Clone for ParsedAuth
Source§fn clone(&self) -> ParsedAuth
fn clone(&self) -> ParsedAuth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedAuth
impl RefUnwindSafe for ParsedAuth
impl Send for ParsedAuth
impl Sync for ParsedAuth
impl Unpin for ParsedAuth
impl UnsafeUnpin for ParsedAuth
impl UnwindSafe for ParsedAuth
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