#[non_exhaustive]pub struct SignUpOutputBuilder { /* private fields */ }
Expand description
A builder for SignUpOutput
.
Implementations§
source§impl SignUpOutputBuilder
impl SignUpOutputBuilder
sourcepub fn user_confirmed(self, input: bool) -> Self
pub fn user_confirmed(self, input: bool) -> Self
A response from the server indicating that a user registration has been confirmed.
This field is required.sourcepub fn set_user_confirmed(self, input: Option<bool>) -> Self
pub fn set_user_confirmed(self, input: Option<bool>) -> Self
A response from the server indicating that a user registration has been confirmed.
sourcepub fn get_user_confirmed(&self) -> &Option<bool>
pub fn get_user_confirmed(&self) -> &Option<bool>
A response from the server indicating that a user registration has been confirmed.
sourcepub fn code_delivery_details(self, input: CodeDeliveryDetailsType) -> Self
pub fn code_delivery_details(self, input: CodeDeliveryDetailsType) -> Self
The code delivery details returned by the server response to the user registration request.
sourcepub fn set_code_delivery_details(
self,
input: Option<CodeDeliveryDetailsType>,
) -> Self
pub fn set_code_delivery_details( self, input: Option<CodeDeliveryDetailsType>, ) -> Self
The code delivery details returned by the server response to the user registration request.
sourcepub fn get_code_delivery_details(&self) -> &Option<CodeDeliveryDetailsType>
pub fn get_code_delivery_details(&self) -> &Option<CodeDeliveryDetailsType>
The code delivery details returned by the server response to the user registration request.
sourcepub fn user_sub(self, input: impl Into<String>) -> Self
pub fn user_sub(self, input: impl Into<String>) -> Self
The UUID of the authenticated user. This isn't the same as username
.
sourcepub fn set_user_sub(self, input: Option<String>) -> Self
pub fn set_user_sub(self, input: Option<String>) -> Self
The UUID of the authenticated user. This isn't the same as username
.
sourcepub fn get_user_sub(&self) -> &Option<String>
pub fn get_user_sub(&self) -> &Option<String>
The UUID of the authenticated user. This isn't the same as username
.
sourcepub fn build(self) -> Result<SignUpOutput, BuildError>
pub fn build(self) -> Result<SignUpOutput, BuildError>
Consumes the builder and constructs a SignUpOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SignUpOutputBuilder
impl Clone for SignUpOutputBuilder
source§fn clone(&self) -> SignUpOutputBuilder
fn clone(&self) -> SignUpOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignUpOutputBuilder
impl Debug for SignUpOutputBuilder
source§impl Default for SignUpOutputBuilder
impl Default for SignUpOutputBuilder
source§fn default() -> SignUpOutputBuilder
fn default() -> SignUpOutputBuilder
source§impl PartialEq for SignUpOutputBuilder
impl PartialEq for SignUpOutputBuilder
source§fn eq(&self, other: &SignUpOutputBuilder) -> bool
fn eq(&self, other: &SignUpOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignUpOutputBuilder
Auto Trait Implementations§
impl Freeze for SignUpOutputBuilder
impl RefUnwindSafe for SignUpOutputBuilder
impl Send for SignUpOutputBuilder
impl Sync for SignUpOutputBuilder
impl Unpin for SignUpOutputBuilder
impl UnwindSafe for SignUpOutputBuilder
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
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>
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>
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 more