pub struct AuthSchemeOptionResolverParams(/* private fields */);
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
Source§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
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>
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.