Struct aws_sdk_workmail::operation::update_user::UpdateUserInput
source · #[non_exhaustive]pub struct UpdateUserInput {Show 17 fields
pub organization_id: Option<String>,
pub user_id: Option<String>,
pub role: Option<UserRole>,
pub display_name: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub hidden_from_global_address_list: Option<bool>,
pub initials: Option<String>,
pub telephone: Option<String>,
pub street: Option<String>,
pub job_title: Option<String>,
pub city: Option<String>,
pub company: Option<String>,
pub zip_code: Option<String>,
pub department: Option<String>,
pub country: Option<String>,
pub office: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.organization_id: Option<String>
The identifier for the organization under which the user exists.
user_id: Option<String>
The identifier for the user to be updated.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
role: Option<UserRole>
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
display_name: Option<String>
Updates the display name of the user.
first_name: Option<String>
Updates the user's first name.
last_name: Option<String>
Updates the user's last name.
If enabled, the user is hidden from the global address list.
initials: Option<String>
Updates the user's initials.
telephone: Option<String>
Updates the user's contact details.
street: Option<String>
Updates the user's street address.
job_title: Option<String>
Updates the user's job title.
city: Option<String>
Updates the user's city.
company: Option<String>
Updates the user's company.
zip_code: Option<String>
Updates the user's zipcode.
department: Option<String>
Updates the user's department.
country: Option<String>
Updates the user's country.
office: Option<String>
Updates the user's office.
Implementations§
source§impl UpdateUserInput
impl UpdateUserInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier for the organization under which the user exists.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The identifier for the user to be updated.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
sourcepub fn role(&self) -> Option<&UserRole>
pub fn role(&self) -> Option<&UserRole>
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Updates the display name of the user.
sourcepub fn first_name(&self) -> Option<&str>
pub fn first_name(&self) -> Option<&str>
Updates the user's first name.
If enabled, the user is hidden from the global address list.
sourcepub fn department(&self) -> Option<&str>
pub fn department(&self) -> Option<&str>
Updates the user's department.
source§impl UpdateUserInput
impl UpdateUserInput
sourcepub fn builder() -> UpdateUserInputBuilder
pub fn builder() -> UpdateUserInputBuilder
Creates a new builder-style object to manufacture UpdateUserInput
.
Trait Implementations§
source§impl Clone for UpdateUserInput
impl Clone for UpdateUserInput
source§fn clone(&self) -> UpdateUserInput
fn clone(&self) -> UpdateUserInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateUserInput
impl Debug for UpdateUserInput
source§impl PartialEq<UpdateUserInput> for UpdateUserInput
impl PartialEq<UpdateUserInput> for UpdateUserInput
source§fn eq(&self, other: &UpdateUserInput) -> bool
fn eq(&self, other: &UpdateUserInput) -> bool
self
and other
values to be equal, and is used
by ==
.