pub struct CreateUserRequest {Show 16 fields
pub email: String,
pub connection: String,
pub password: Option<String>,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub name: Option<String>,
pub nickname: Option<String>,
pub picture: Option<String>,
pub user_id: Option<String>,
pub email_verified: Option<bool>,
pub phone_number: Option<String>,
pub phone_verified: Option<bool>,
pub user_metadata: Option<Value>,
pub app_metadata: Option<Value>,
pub blocked: Option<bool>,
pub verify_email: Option<bool>,
}Fields§
§email: StringThe user’s email address.
connection: StringThe connection to create the user in (e.g. “Username-Password-Authentication”).
password: Option<String>The user’s password, if applicable.
given_name: Option<String>The user’s given name.
family_name: Option<String>The user’s family name.
name: Option<String>The user’s full name.
nickname: Option<String>The user’s nickname.
picture: Option<String>URL pointing to the user’s picture.
user_id: Option<String>Whether the user’s id is verified.
email_verified: Option<bool>Whether the user’s email is verified.
phone_number: Option<String>The user’s phone number (E.164 format).
phone_verified: Option<bool>Whether the user’s phone number is verified.
user_metadata: Option<Value>Additional metadata for the user.
app_metadata: Option<Value>App-specific metadata.
blocked: Option<bool>Whether the user is blocked.
verify_email: Option<bool>Whether to send a verification email to the user.
Implementations§
Source§impl CreateUserRequest
impl CreateUserRequest
pub fn builder() -> CreateUserRequestBuilder
Trait Implementations§
Source§impl Debug for CreateUserRequest
impl Debug for CreateUserRequest
Source§impl Default for CreateUserRequest
impl Default for CreateUserRequest
Source§fn default() -> CreateUserRequest
fn default() -> CreateUserRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateUserRequest
impl<'de> Deserialize<'de> for CreateUserRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateUserRequest
impl RefUnwindSafe for CreateUserRequest
impl Send for CreateUserRequest
impl Sync for CreateUserRequest
impl Unpin for CreateUserRequest
impl UnsafeUnpin for CreateUserRequest
impl UnwindSafe for CreateUserRequest
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