Struct aws_sdk_workdocs::input::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 AWS 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 Poweruser privileges.
Implementations
sourceimpl UpdateUserInput
impl UpdateUserInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUser, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUser, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateUser
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateUserInput
sourceimpl 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 AWS 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 Poweruser privileges.
Trait Implementations
sourceimpl Clone for UpdateUserInput
impl Clone for UpdateUserInput
sourcefn clone(&self) -> UpdateUserInput
fn clone(&self) -> UpdateUserInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateUserInput
impl Debug for UpdateUserInput
sourceimpl PartialEq<UpdateUserInput> for UpdateUserInput
impl PartialEq<UpdateUserInput> for UpdateUserInput
sourcefn eq(&self, other: &UpdateUserInput) -> bool
fn eq(&self, other: &UpdateUserInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateUserInput) -> bool
fn ne(&self, other: &UpdateUserInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateUserInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateUserInput
impl Send for UpdateUserInput
impl Sync for UpdateUserInput
impl Unpin for UpdateUserInput
impl UnwindSafe for UpdateUserInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more