pub struct UpdateUserRequest {
pub email_address: String,
pub user_name: String,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub active: Option<bool>,
pub role_ids: Vec<String>,
pub team_ids: Vec<String>,
}
Expand description
Request structure for updating a user
Fields§
§email_address: String
Email address (required)
user_name: String
Username (required)
first_name: Option<String>
First name
last_name: Option<String>
Last name
active: Option<bool>
Whether the account is active
role_ids: Vec<String>
List of role IDs to assign (required)
team_ids: Vec<String>
List of team IDs to assign (required)
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<'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