pub struct AuthSchemeOptionBuilder { /* private fields */ }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
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.