pub struct AuthSchemeOption { /* private fields */ }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 moreSource§impl Debug for AuthSchemeOption
 
impl Debug for AuthSchemeOption
Source§impl From<AuthSchemeId> for AuthSchemeOption
 
impl From<AuthSchemeId> for AuthSchemeOption
Source§fn from(auth_scheme_id: AuthSchemeId) -> Self
 
fn from(auth_scheme_id: AuthSchemeId) -> Self
Converts to this type from the input type.
Auto 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,
§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.