pub struct AdminCreateUserParams {
pub email: Option<String>,
pub phone: Option<String>,
pub password: Option<String>,
pub email_confirm: Option<bool>,
pub phone_confirm: Option<bool>,
pub user_metadata: Option<Value>,
pub app_metadata: Option<Value>,
pub ban_duration: Option<String>,
}Expand description
Parameters for admin user creation.
Matches AdminUserAttributes in Supabase JS admin.createUser().
Fields§
§email: Option<String>§phone: Option<String>§password: Option<String>§email_confirm: Option<bool>§phone_confirm: Option<bool>§user_metadata: Option<Value>§app_metadata: Option<Value>§ban_duration: Option<String>Trait Implementations§
Source§impl Clone for AdminCreateUserParams
impl Clone for AdminCreateUserParams
Source§fn clone(&self) -> AdminCreateUserParams
fn clone(&self) -> AdminCreateUserParams
Returns a duplicate 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 AdminCreateUserParams
impl Debug for AdminCreateUserParams
Source§impl Default for AdminCreateUserParams
impl Default for AdminCreateUserParams
Source§fn default() -> AdminCreateUserParams
fn default() -> AdminCreateUserParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdminCreateUserParams
impl<'de> Deserialize<'de> for AdminCreateUserParams
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 AdminCreateUserParams
impl RefUnwindSafe for AdminCreateUserParams
impl Send for AdminCreateUserParams
impl Sync for AdminCreateUserParams
impl Unpin for AdminCreateUserParams
impl UnsafeUnpin for AdminCreateUserParams
impl UnwindSafe for AdminCreateUserParams
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