Struct aws_sdk_workmail::operation::get_impersonation_role_effect::GetImpersonationRoleEffectInput
source · #[non_exhaustive]pub struct GetImpersonationRoleEffectInput {
pub organization_id: Option<String>,
pub impersonation_role_id: Option<String>,
pub target_user: 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 WorkMail organization where the impersonation role is defined.
impersonation_role_id: Option<String>The impersonation role ID to test.
target_user: Option<String>The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
Implementations§
source§impl GetImpersonationRoleEffectInput
impl GetImpersonationRoleEffectInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The WorkMail organization where the impersonation role is defined.
sourcepub fn impersonation_role_id(&self) -> Option<&str>
pub fn impersonation_role_id(&self) -> Option<&str>
The impersonation role ID to test.
sourcepub fn target_user(&self) -> Option<&str>
pub fn target_user(&self) -> Option<&str>
The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
source§impl GetImpersonationRoleEffectInput
impl GetImpersonationRoleEffectInput
sourcepub fn builder() -> GetImpersonationRoleEffectInputBuilder
pub fn builder() -> GetImpersonationRoleEffectInputBuilder
Creates a new builder-style object to manufacture GetImpersonationRoleEffectInput.
Trait Implementations§
source§impl Clone for GetImpersonationRoleEffectInput
impl Clone for GetImpersonationRoleEffectInput
source§fn clone(&self) -> GetImpersonationRoleEffectInput
fn clone(&self) -> GetImpersonationRoleEffectInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetImpersonationRoleEffectInput
impl PartialEq for GetImpersonationRoleEffectInput
source§fn eq(&self, other: &GetImpersonationRoleEffectInput) -> bool
fn eq(&self, other: &GetImpersonationRoleEffectInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetImpersonationRoleEffectInput
Auto Trait Implementations§
impl Freeze for GetImpersonationRoleEffectInput
impl RefUnwindSafe for GetImpersonationRoleEffectInput
impl Send for GetImpersonationRoleEffectInput
impl Sync for GetImpersonationRoleEffectInput
impl Unpin for GetImpersonationRoleEffectInput
impl UnwindSafe for GetImpersonationRoleEffectInput
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