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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq 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 (const: unstable) · 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 for CreateUserOptions
impl PartialEq for CreateUserOptions
Source§impl PartialOrd for CreateUserOptions
impl PartialOrd for CreateUserOptions
impl StructuralPartialEq for CreateUserOptions
Auto Trait Implementations§
impl Freeze for CreateUserOptions
impl RefUnwindSafe for CreateUserOptions
impl Send for CreateUserOptions
impl Sync for CreateUserOptions
impl Unpin for CreateUserOptions
impl UnsafeUnpin for CreateUserOptions
impl UnwindSafe for CreateUserOptions
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