#[non_exhaustive]pub struct UpdateMailboxQuotaInput {
pub organization_id: Option<String>,
pub user_id: Option<String>,
pub mailbox_quota: Option<i32>,
}
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 that contains the user for whom to update the mailbox quota.
user_id: Option<String>
The identifer for the user for whom to update the mailbox quota.
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
mailbox_quota: Option<i32>
The updated mailbox quota, in MB, for the specified user.
Implementations§
source§impl UpdateMailboxQuotaInput
impl UpdateMailboxQuotaInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier for the organization that contains the user for whom to update the mailbox quota.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The identifer for the user for whom to update the mailbox quota.
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 mailbox_quota(&self) -> Option<i32>
pub fn mailbox_quota(&self) -> Option<i32>
The updated mailbox quota, in MB, for the specified user.
source§impl UpdateMailboxQuotaInput
impl UpdateMailboxQuotaInput
sourcepub fn builder() -> UpdateMailboxQuotaInputBuilder
pub fn builder() -> UpdateMailboxQuotaInputBuilder
Creates a new builder-style object to manufacture UpdateMailboxQuotaInput
.
Trait Implementations§
source§impl Clone for UpdateMailboxQuotaInput
impl Clone for UpdateMailboxQuotaInput
source§fn clone(&self) -> UpdateMailboxQuotaInput
fn clone(&self) -> UpdateMailboxQuotaInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateMailboxQuotaInput
impl Debug for UpdateMailboxQuotaInput
source§impl PartialEq for UpdateMailboxQuotaInput
impl PartialEq for UpdateMailboxQuotaInput
source§fn eq(&self, other: &UpdateMailboxQuotaInput) -> bool
fn eq(&self, other: &UpdateMailboxQuotaInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateMailboxQuotaInput
Auto Trait Implementations§
impl Freeze for UpdateMailboxQuotaInput
impl RefUnwindSafe for UpdateMailboxQuotaInput
impl Send for UpdateMailboxQuotaInput
impl Sync for UpdateMailboxQuotaInput
impl Unpin for UpdateMailboxQuotaInput
impl UnwindSafe for UpdateMailboxQuotaInput
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> 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