pub struct UpdateUserRequest {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub username: Option<String>,
pub primary_email_address_id: Option<String>,
pub primary_phone_number_id: Option<String>,
pub public_metadata: Option<HashMap<String, Value>>,
pub private_metadata: Option<HashMap<String, Value>>,
pub unsafe_metadata: Option<HashMap<String, Value>>,
}Expand description
Request to update a user
Fields§
§first_name: Option<String>§last_name: Option<String>§username: Option<String>§primary_email_address_id: Option<String>§primary_phone_number_id: Option<String>§public_metadata: Option<HashMap<String, Value>>§private_metadata: Option<HashMap<String, Value>>§unsafe_metadata: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for UpdateUserRequest
impl Clone for UpdateUserRequest
Source§fn clone(&self) -> UpdateUserRequest
fn clone(&self) -> UpdateUserRequest
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 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
Source§impl<'de> Deserialize<'de> for UpdateUserRequest
impl<'de> Deserialize<'de> for UpdateUserRequest
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 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