pub struct AuthSchemeOptionBuilder { /* private fields */ }
Available on crate feature
client
only.Expand description
Builder struct for AuthSchemeOption
Implementations§
source§impl AuthSchemeOptionBuilder
impl AuthSchemeOptionBuilder
sourcepub fn scheme_id(self, auth_scheme_id: AuthSchemeId) -> Self
pub fn scheme_id(self, auth_scheme_id: AuthSchemeId) -> Self
Sets AuthSchemeId
for the builder
sourcepub fn set_scheme_id(&mut self, auth_scheme_id: Option<AuthSchemeId>)
pub fn set_scheme_id(&mut self, auth_scheme_id: Option<AuthSchemeId>)
Sets AuthSchemeId
for the builder
sourcepub fn properties(self, properties: FrozenLayer) -> Self
pub fn properties(self, properties: FrozenLayer) -> Self
Sets the properties for the builder
sourcepub fn set_properties(&mut self, properties: Option<FrozenLayer>)
pub fn set_properties(&mut self, properties: Option<FrozenLayer>)
Sets the properties for the builder
sourcepub fn build(self) -> Result<AuthSchemeOption, AuthSchemeOptionBuilderError>
pub fn build(self) -> Result<AuthSchemeOption, AuthSchemeOptionBuilderError>
Builds an AuthSchemeOption
, otherwise returns an AuthSchemeOptionBuilderError
in the case of error
Trait Implementations§
source§impl Debug for AuthSchemeOptionBuilder
impl Debug for AuthSchemeOptionBuilder
source§impl Default for AuthSchemeOptionBuilder
impl Default for AuthSchemeOptionBuilder
source§fn default() -> AuthSchemeOptionBuilder
fn default() -> AuthSchemeOptionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthSchemeOptionBuilder
impl !RefUnwindSafe for AuthSchemeOptionBuilder
impl Send for AuthSchemeOptionBuilder
impl Sync for AuthSchemeOptionBuilder
impl Unpin for AuthSchemeOptionBuilder
impl !UnwindSafe for AuthSchemeOptionBuilder
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.