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 ==
.impl StructuralPartialEq for UpdateUserInput
Auto Trait Implementations§
impl Freeze for UpdateUserInput
impl RefUnwindSafe for UpdateUserInput
impl Send for UpdateUserInput
impl Sync for UpdateUserInput
impl Unpin for UpdateUserInput
impl UnwindSafe for UpdateUserInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more