pub trait SignedHeaderRequirements {
// Required methods
fn always_present(&self) -> &[Cow<'_, str>];
fn if_in_request(&self) -> &[Cow<'_, str>];
fn prefixes(&self) -> &[Cow<'_, str>];
}
Expand description
Trait for informing validation routines indicating which headers must be signed in addition to the standard AWS SigV4 headers.
Required Methods§
Sourcefn always_present(&self) -> &[Cow<'_, str>]
fn always_present(&self) -> &[Cow<'_, str>]
Return the headers that must always be present in SignedHeaders.
Sourcefn if_in_request(&self) -> &[Cow<'_, str>]
fn if_in_request(&self) -> &[Cow<'_, str>]
Return the headers that must be present in SignedHeaders if they are present in the request.