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 ==
.