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
§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>
Creates a shared type from an unshared type.