pub struct UpdateUserRequest {
pub local_id: String,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub password: Option<String>,
pub display_name: Option<String>,
pub photo_url: Option<String>,
pub disabled: Option<bool>,
pub phone_number: Option<String>,
pub custom_attributes: Option<String>,
pub valid_since: Option<String>,
pub delete_attribute: Option<Vec<String>>,
pub delete_provider: Option<Vec<String>>,
}Expand description
Request to update an existing user.
Fields§
§local_id: StringThe UID of the user to update.
email: Option<String>The new email address.
email_verified: Option<bool>The new email verification status.
password: Option<String>The new password.
display_name: Option<String>The new display name.
photo_url: Option<String>The new photo URL.
disabled: Option<bool>The new disabled status.
phone_number: Option<String>The new phone number.
custom_attributes: Option<String>The new custom claims (JSON string).
valid_since: Option<String>Force token expiration (set validSince to now).
delete_attribute: Option<Vec<String>>List of attributes to delete.
delete_provider: Option<Vec<String>>List of providers to unlink.
Trait Implementations§
Source§impl Debug for UpdateUserRequest
impl Debug for UpdateUserRequest
Source§impl Default for UpdateUserRequest
impl Default for UpdateUserRequest
Source§fn default() -> UpdateUserRequest
fn default() -> UpdateUserRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateUserRequest
impl RefUnwindSafe for UpdateUserRequest
impl Send for UpdateUserRequest
impl Sync for UpdateUserRequest
impl Unpin for UpdateUserRequest
impl UnwindSafe for UpdateUserRequest
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