Struct aws_sdk_workdocs::operation::update_user::UpdateUserInput
source · #[non_exhaustive]pub struct UpdateUserInput {
pub authentication_token: Option<String>,
pub user_id: Option<String>,
pub given_name: Option<String>,
pub surname: Option<String>,
pub type: Option<UserType>,
pub storage_rule: Option<StorageRuleType>,
pub time_zone_id: Option<String>,
pub locale: Option<LocaleType>,
pub grant_poweruser_privileges: Option<BooleanEnumType>,
}
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.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
user_id: Option<String>
The ID of the user.
given_name: Option<String>
The given name of the user.
surname: Option<String>
The surname of the user.
type: Option<UserType>
The type of the user.
storage_rule: Option<StorageRuleType>
The amount of storage for the user.
time_zone_id: Option<String>
The time zone ID of the user.
locale: Option<LocaleType>
The locale of the user.
grant_poweruser_privileges: Option<BooleanEnumType>
Boolean value to determine whether the user is granted Power user privileges.
Implementations§
source§impl UpdateUserInput
impl UpdateUserInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn given_name(&self) -> Option<&str>
pub fn given_name(&self) -> Option<&str>
The given name of the user.
sourcepub fn storage_rule(&self) -> Option<&StorageRuleType>
pub fn storage_rule(&self) -> Option<&StorageRuleType>
The amount of storage for the user.
sourcepub fn time_zone_id(&self) -> Option<&str>
pub fn time_zone_id(&self) -> Option<&str>
The time zone ID of the user.
sourcepub fn locale(&self) -> Option<&LocaleType>
pub fn locale(&self) -> Option<&LocaleType>
The locale of the user.
sourcepub fn grant_poweruser_privileges(&self) -> Option<&BooleanEnumType>
pub fn grant_poweruser_privileges(&self) -> Option<&BooleanEnumType>
Boolean value to determine whether the user is granted Power user privileges.
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 for UpdateUserInput
impl PartialEq 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 ==
.