Struct aws_sdk_workmail::operation::update_primary_email_address::UpdatePrimaryEmailAddressInput
source · #[non_exhaustive]pub struct UpdatePrimaryEmailAddressInput {
pub organization_id: Option<String>,
pub entity_id: Option<String>,
pub email: Option<String>,
}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 organization that contains the user, group, or resource to update.
entity_id: Option<String>The user, group, or resource to update.
The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:
-
Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
email: Option<String>The value of the email to be updated as primary.
Implementations§
source§impl UpdatePrimaryEmailAddressInput
impl UpdatePrimaryEmailAddressInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The organization that contains the user, group, or resource to update.
sourcepub fn entity_id(&self) -> Option<&str>
pub fn entity_id(&self) -> Option<&str>
The user, group, or resource to update.
The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:
-
Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
source§impl UpdatePrimaryEmailAddressInput
impl UpdatePrimaryEmailAddressInput
sourcepub fn builder() -> UpdatePrimaryEmailAddressInputBuilder
pub fn builder() -> UpdatePrimaryEmailAddressInputBuilder
Creates a new builder-style object to manufacture UpdatePrimaryEmailAddressInput.
Trait Implementations§
source§impl Clone for UpdatePrimaryEmailAddressInput
impl Clone for UpdatePrimaryEmailAddressInput
source§fn clone(&self) -> UpdatePrimaryEmailAddressInput
fn clone(&self) -> UpdatePrimaryEmailAddressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdatePrimaryEmailAddressInput
impl PartialEq for UpdatePrimaryEmailAddressInput
source§fn eq(&self, other: &UpdatePrimaryEmailAddressInput) -> bool
fn eq(&self, other: &UpdatePrimaryEmailAddressInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePrimaryEmailAddressInput
Auto Trait Implementations§
impl Freeze for UpdatePrimaryEmailAddressInput
impl RefUnwindSafe for UpdatePrimaryEmailAddressInput
impl Send for UpdatePrimaryEmailAddressInput
impl Sync for UpdatePrimaryEmailAddressInput
impl Unpin for UpdatePrimaryEmailAddressInput
impl UnwindSafe for UpdatePrimaryEmailAddressInput
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