Enum aws_sigv4::http_request::SessionTokenMode
source · #[non_exhaustive]pub enum SessionTokenMode {
Include,
Exclude,
}
Available on crate feature
sign-http
only.Expand description
Config value to specify whether X-Amz-Security-Token should be part of the canonical request. http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html#temporary-security-credentials
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Include
Include in the canonical request before calculating the signature.
Exclude
Exclude in the canonical request.
Trait Implementations§
source§impl Debug for SessionTokenMode
impl Debug for SessionTokenMode
source§impl PartialEq for SessionTokenMode
impl PartialEq for SessionTokenMode
source§fn eq(&self, other: &SessionTokenMode) -> bool
fn eq(&self, other: &SessionTokenMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SessionTokenMode
impl StructuralEq for SessionTokenMode
impl StructuralPartialEq for SessionTokenMode
Auto Trait Implementations§
impl RefUnwindSafe for SessionTokenMode
impl Send for SessionTokenMode
impl Sync for SessionTokenMode
impl Unpin for SessionTokenMode
impl UnwindSafe for SessionTokenMode
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.