pub struct AdminUpdateUserParams {
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 update.
Matches AdminUserAttributes in Supabase JS admin.updateUserById().
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 AdminUpdateUserParams
impl Clone for AdminUpdateUserParams
Source§fn clone(&self) -> AdminUpdateUserParams
fn clone(&self) -> AdminUpdateUserParams
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 AdminUpdateUserParams
impl Debug for AdminUpdateUserParams
Source§impl Default for AdminUpdateUserParams
impl Default for AdminUpdateUserParams
Source§fn default() -> AdminUpdateUserParams
fn default() -> AdminUpdateUserParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdminUpdateUserParams
impl<'de> Deserialize<'de> for AdminUpdateUserParams
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 AdminUpdateUserParams
impl RefUnwindSafe for AdminUpdateUserParams
impl Send for AdminUpdateUserParams
impl Sync for AdminUpdateUserParams
impl Unpin for AdminUpdateUserParams
impl UnsafeUnpin for AdminUpdateUserParams
impl UnwindSafe for AdminUpdateUserParams
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