pub struct UserOptions {
pub change_email: ChangeEmailOptions,
pub delete_user: DeleteUserOptions,
pub additional_fields: BTreeMap<String, UserAdditionalField>,
}Expand description
User lifecycle configuration.
Fields§
§change_email: ChangeEmailOptions§delete_user: DeleteUserOptions§additional_fields: BTreeMap<String, UserAdditionalField>Implementations§
Source§impl UserOptions
impl UserOptions
pub fn new() -> Self
pub fn builder() -> Self
pub fn change_email(self, change_email: ChangeEmailOptions) -> Self
pub fn delete_user(self, delete_user: DeleteUserOptions) -> Self
pub fn additional_field( self, name: impl Into<String>, field: UserAdditionalField, ) -> Self
Trait Implementations§
Source§impl Clone for UserOptions
impl Clone for UserOptions
Source§fn clone(&self) -> UserOptions
fn clone(&self) -> UserOptions
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 UserOptions
impl Debug for UserOptions
Source§impl Default for UserOptions
impl Default for UserOptions
Source§fn default() -> UserOptions
fn default() -> UserOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for UserOptions
impl PartialEq for UserOptions
Source§fn eq(&self, other: &UserOptions) -> bool
fn eq(&self, other: &UserOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UserOptions
Auto Trait Implementations§
impl Freeze for UserOptions
impl RefUnwindSafe for UserOptions
impl Send for UserOptions
impl Sync for UserOptions
impl Unpin for UserOptions
impl UnsafeUnpin for UserOptions
impl UnwindSafe for UserOptions
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