#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for User
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The login name of the user.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address of the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address of the user.
sourcepub fn given_name(self, input: impl Into<String>) -> Self
pub fn given_name(self, input: impl Into<String>) -> Self
The given name of the user.
sourcepub fn set_given_name(self, input: Option<String>) -> Self
pub fn set_given_name(self, input: Option<String>) -> Self
The given name of the user.
sourcepub fn set_surname(self, input: Option<String>) -> Self
pub fn set_surname(self, input: Option<String>) -> Self
The surname of the user.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The ID of the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The ID of the organization.
sourcepub fn root_folder_id(self, input: impl Into<String>) -> Self
pub fn root_folder_id(self, input: impl Into<String>) -> Self
The ID of the root folder.
sourcepub fn set_root_folder_id(self, input: Option<String>) -> Self
pub fn set_root_folder_id(self, input: Option<String>) -> Self
The ID of the root folder.
sourcepub fn recycle_bin_folder_id(self, input: impl Into<String>) -> Self
pub fn recycle_bin_folder_id(self, input: impl Into<String>) -> Self
The ID of the recycle bin folder.
sourcepub fn set_recycle_bin_folder_id(self, input: Option<String>) -> Self
pub fn set_recycle_bin_folder_id(self, input: Option<String>) -> Self
The ID of the recycle bin folder.
sourcepub fn status(self, input: UserStatusType) -> Self
pub fn status(self, input: UserStatusType) -> Self
The status of the user.
sourcepub fn set_status(self, input: Option<UserStatusType>) -> Self
pub fn set_status(self, input: Option<UserStatusType>) -> Self
The status of the user.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The time when the user was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The time when the user was created.
sourcepub fn modified_timestamp(self, input: DateTime) -> Self
pub fn modified_timestamp(self, input: DateTime) -> Self
The time when the user was modified.
sourcepub fn set_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_modified_timestamp(self, input: Option<DateTime>) -> Self
The time when the user was modified.
sourcepub fn time_zone_id(self, input: impl Into<String>) -> Self
pub fn time_zone_id(self, input: impl Into<String>) -> Self
The time zone ID of the user.
sourcepub fn set_time_zone_id(self, input: Option<String>) -> Self
pub fn set_time_zone_id(self, input: Option<String>) -> Self
The time zone ID of the user.
sourcepub fn locale(self, input: LocaleType) -> Self
pub fn locale(self, input: LocaleType) -> Self
The locale of the user.
sourcepub fn set_locale(self, input: Option<LocaleType>) -> Self
pub fn set_locale(self, input: Option<LocaleType>) -> Self
The locale of the user.
sourcepub fn storage(self, input: UserStorageMetadata) -> Self
pub fn storage(self, input: UserStorageMetadata) -> Self
The storage for the user.
sourcepub fn set_storage(self, input: Option<UserStorageMetadata>) -> Self
pub fn set_storage(self, input: Option<UserStorageMetadata>) -> Self
The storage for the user.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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