#[non_exhaustive]pub struct ChallengeResponseTypeBuilder { /* private fields */ }
Expand description
A builder for ChallengeResponseType
.
Implementations§
source§impl ChallengeResponseTypeBuilder
impl ChallengeResponseTypeBuilder
sourcepub fn challenge_name(self, input: ChallengeName) -> Self
pub fn challenge_name(self, input: ChallengeName) -> Self
The challenge name.
sourcepub fn set_challenge_name(self, input: Option<ChallengeName>) -> Self
pub fn set_challenge_name(self, input: Option<ChallengeName>) -> Self
The challenge name.
sourcepub fn get_challenge_name(&self) -> &Option<ChallengeName>
pub fn get_challenge_name(&self) -> &Option<ChallengeName>
The challenge name.
sourcepub fn challenge_response(self, input: ChallengeResponse) -> Self
pub fn challenge_response(self, input: ChallengeResponse) -> Self
The challenge response.
sourcepub fn set_challenge_response(self, input: Option<ChallengeResponse>) -> Self
pub fn set_challenge_response(self, input: Option<ChallengeResponse>) -> Self
The challenge response.
sourcepub fn get_challenge_response(&self) -> &Option<ChallengeResponse>
pub fn get_challenge_response(&self) -> &Option<ChallengeResponse>
The challenge response.
sourcepub fn build(self) -> ChallengeResponseType
pub fn build(self) -> ChallengeResponseType
Consumes the builder and constructs a ChallengeResponseType
.
Trait Implementations§
source§impl Clone for ChallengeResponseTypeBuilder
impl Clone for ChallengeResponseTypeBuilder
source§fn clone(&self) -> ChallengeResponseTypeBuilder
fn clone(&self) -> ChallengeResponseTypeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChallengeResponseTypeBuilder
impl Debug for ChallengeResponseTypeBuilder
source§impl Default for ChallengeResponseTypeBuilder
impl Default for ChallengeResponseTypeBuilder
source§fn default() -> ChallengeResponseTypeBuilder
fn default() -> ChallengeResponseTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ChallengeResponseTypeBuilder
impl PartialEq for ChallengeResponseTypeBuilder
source§fn eq(&self, other: &ChallengeResponseTypeBuilder) -> bool
fn eq(&self, other: &ChallengeResponseTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChallengeResponseTypeBuilder
Auto Trait Implementations§
impl Freeze for ChallengeResponseTypeBuilder
impl RefUnwindSafe for ChallengeResponseTypeBuilder
impl Send for ChallengeResponseTypeBuilder
impl Sync for ChallengeResponseTypeBuilder
impl Unpin for ChallengeResponseTypeBuilder
impl UnwindSafe for ChallengeResponseTypeBuilder
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.