#[non_exhaustive]pub struct SignUpOutput {
pub user_confirmed: bool,
pub code_delivery_details: Option<CodeDeliveryDetailsType>,
pub user_sub: String,
/* private fields */
}Expand description
The response from the server for a registration request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.user_confirmed: boolA response from the server indicating that a user registration has been confirmed.
code_delivery_details: Option<CodeDeliveryDetailsType>The code delivery details returned by the server response to the user registration request.
user_sub: StringThe UUID of the authenticated user. This isn't the same as username.
Implementations§
source§impl SignUpOutput
impl SignUpOutput
sourcepub fn user_confirmed(&self) -> bool
pub fn user_confirmed(&self) -> bool
A response from the server indicating that a user registration has been confirmed.
sourcepub fn code_delivery_details(&self) -> Option<&CodeDeliveryDetailsType>
pub fn code_delivery_details(&self) -> Option<&CodeDeliveryDetailsType>
The code delivery details returned by the server response to the user registration request.
source§impl SignUpOutput
impl SignUpOutput
sourcepub fn builder() -> SignUpOutputBuilder
pub fn builder() -> SignUpOutputBuilder
Creates a new builder-style object to manufacture SignUpOutput.
Trait Implementations§
source§impl Clone for SignUpOutput
impl Clone for SignUpOutput
source§fn clone(&self) -> SignUpOutput
fn clone(&self) -> SignUpOutput
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 SignUpOutput
impl Debug for SignUpOutput
source§impl PartialEq for SignUpOutput
impl PartialEq for SignUpOutput
source§fn eq(&self, other: &SignUpOutput) -> bool
fn eq(&self, other: &SignUpOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for SignUpOutput
impl RequestId for SignUpOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for SignUpOutput
Auto Trait Implementations§
impl RefUnwindSafe for SignUpOutput
impl Send for SignUpOutput
impl Sync for SignUpOutput
impl Unpin for SignUpOutput
impl UnwindSafe for SignUpOutput
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.