pub struct AuthSchemeOptionResolverParams(/* private fields */);
Available on crate feature
client
only.Expand description
Parameters needed to resolve auth scheme options.
Most generated clients will use the StaticAuthSchemeOptionResolver
,
which doesn’t require any parameters for resolution (and has its own empty params struct).
However, more complex auth scheme resolvers may need modeled parameters in order to resolve the auth scheme options. For those, this params struct holds a type erased box so that any kind of parameters can be contained within, and type casted by the auth scheme option resolver implementation.
Implementations§
Trait Implementations§
source§impl From<StaticAuthSchemeOptionResolverParams> for AuthSchemeOptionResolverParams
impl From<StaticAuthSchemeOptionResolverParams> for AuthSchemeOptionResolverParams
source§fn from(params: StaticAuthSchemeOptionResolverParams) -> Self
fn from(params: StaticAuthSchemeOptionResolverParams) -> Self
Converts to this type from the input type.
source§impl Storable for AuthSchemeOptionResolverParams
impl Storable for AuthSchemeOptionResolverParams
§type Storer = StoreReplace<AuthSchemeOptionResolverParams>
type Storer = StoreReplace<AuthSchemeOptionResolverParams>
Specify how an item is stored in the config bag, e.g.
StoreReplace
and StoreAppend
Auto Trait Implementations§
impl Freeze for AuthSchemeOptionResolverParams
impl !RefUnwindSafe for AuthSchemeOptionResolverParams
impl Send for AuthSchemeOptionResolverParams
impl Sync for AuthSchemeOptionResolverParams
impl Unpin for AuthSchemeOptionResolverParams
impl !UnwindSafe for AuthSchemeOptionResolverParams
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
§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.