Struct etwin_core::user::CreateUserOptions
source · pub struct CreateUserOptions {
pub display_name: UserDisplayName,
pub email: Option<EmailAddress>,
pub username: Option<Username>,
pub password: Option<PasswordHash>,
}
Fields§
§display_name: UserDisplayName
§email: Option<EmailAddress>
§username: Option<Username>
§password: Option<PasswordHash>
Trait Implementations§
source§impl Clone for CreateUserOptions
impl Clone for CreateUserOptions
source§fn clone(&self) -> CreateUserOptions
fn clone(&self) -> CreateUserOptions
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 CreateUserOptions
impl Debug for CreateUserOptions
source§impl Hash for CreateUserOptions
impl Hash for CreateUserOptions
source§impl Ord for CreateUserOptions
impl Ord for CreateUserOptions
source§fn cmp(&self, other: &CreateUserOptions) -> Ordering
fn cmp(&self, other: &CreateUserOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CreateUserOptions> for CreateUserOptions
impl PartialEq<CreateUserOptions> for CreateUserOptions
source§fn eq(&self, other: &CreateUserOptions) -> bool
fn eq(&self, other: &CreateUserOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CreateUserOptions> for CreateUserOptions
impl PartialOrd<CreateUserOptions> for CreateUserOptions
source§fn partial_cmp(&self, other: &CreateUserOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateUserOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more