pub struct UpdateUserParams {
pub email: Option<String>,
pub phone: Option<String>,
pub password: Option<String>,
pub data: Option<Value>,
pub nonce: Option<String>,
}Expand description
Parameters for updating the current user.
Matches the UserAttributes parameter in Supabase JS updateUser().
Fields§
§email: Option<String>§phone: Option<String>§password: Option<String>§data: Option<Value>§nonce: Option<String>Trait Implementations§
Source§impl Clone for UpdateUserParams
impl Clone for UpdateUserParams
Source§fn clone(&self) -> UpdateUserParams
fn clone(&self) -> UpdateUserParams
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 UpdateUserParams
impl Debug for UpdateUserParams
Source§impl Default for UpdateUserParams
impl Default for UpdateUserParams
Source§fn default() -> UpdateUserParams
fn default() -> UpdateUserParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateUserParams
impl<'de> Deserialize<'de> for UpdateUserParams
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 UpdateUserParams
impl RefUnwindSafe for UpdateUserParams
impl Send for UpdateUserParams
impl Sync for UpdateUserParams
impl Unpin for UpdateUserParams
impl UnsafeUnpin for UpdateUserParams
impl UnwindSafe for UpdateUserParams
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