Struct aws_smithy_runtime_api::client::auth::AuthSchemeOption
source · pub struct AuthSchemeOption { /* private fields */ }
Available on crate feature
client
only.Expand description
The output type from the ResolveAuthSchemeOptions::resolve_auth_scheme_options_v2
The resolver returns a list of these, in the order the auth scheme resolver wishes to use them.
Implementations§
source§impl AuthSchemeOption
impl AuthSchemeOption
sourcepub fn builder() -> AuthSchemeOptionBuilder
pub fn builder() -> AuthSchemeOptionBuilder
Builder struct for AuthSchemeOption
sourcepub fn scheme_id(&self) -> &AuthSchemeId
pub fn scheme_id(&self) -> &AuthSchemeId
Returns AuthSchemeId
, the ID of the scheme
sourcepub fn properties(&self) -> Option<FrozenLayer>
pub fn properties(&self) -> Option<FrozenLayer>
Returns optional properties for identity resolution or signing
This config layer is applied to the [ConfigBag
] to ensure the information is
available during both the identity resolution and signature generation processes.
Trait Implementations§
source§impl Clone for AuthSchemeOption
impl Clone for AuthSchemeOption
source§fn clone(&self) -> AuthSchemeOption
fn clone(&self) -> AuthSchemeOption
Returns a copy 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 AuthSchemeOption
impl !RefUnwindSafe for AuthSchemeOption
impl Send for AuthSchemeOption
impl Sync for AuthSchemeOption
impl Unpin for AuthSchemeOption
impl !UnwindSafe for AuthSchemeOption
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.