#[non_exhaustive]pub struct ApplicationAssignmentForPrincipal {
pub application_arn: Option<String>,
pub principal_id: Option<String>,
pub principal_type: Option<PrincipalType>,
}
Expand description
A structure that describes an application to which a principal is assigned.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.application_arn: Option<String>
The ARN of the application to which the specified principal is assigned.
principal_id: Option<String>
The unique identifier of the principal assigned to the application.
principal_type: Option<PrincipalType>
The type of the principal assigned to the application.
Implementations§
source§impl ApplicationAssignmentForPrincipal
impl ApplicationAssignmentForPrincipal
sourcepub fn application_arn(&self) -> Option<&str>
pub fn application_arn(&self) -> Option<&str>
The ARN of the application to which the specified principal is assigned.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The unique identifier of the principal assigned to the application.
sourcepub fn principal_type(&self) -> Option<&PrincipalType>
pub fn principal_type(&self) -> Option<&PrincipalType>
The type of the principal assigned to the application.
source§impl ApplicationAssignmentForPrincipal
impl ApplicationAssignmentForPrincipal
sourcepub fn builder() -> ApplicationAssignmentForPrincipalBuilder
pub fn builder() -> ApplicationAssignmentForPrincipalBuilder
Creates a new builder-style object to manufacture ApplicationAssignmentForPrincipal
.
Trait Implementations§
source§impl Clone for ApplicationAssignmentForPrincipal
impl Clone for ApplicationAssignmentForPrincipal
source§fn clone(&self) -> ApplicationAssignmentForPrincipal
fn clone(&self) -> ApplicationAssignmentForPrincipal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for ApplicationAssignmentForPrincipal
impl PartialEq for ApplicationAssignmentForPrincipal
source§fn eq(&self, other: &ApplicationAssignmentForPrincipal) -> bool
fn eq(&self, other: &ApplicationAssignmentForPrincipal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplicationAssignmentForPrincipal
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationAssignmentForPrincipal
impl Send for ApplicationAssignmentForPrincipal
impl Sync for ApplicationAssignmentForPrincipal
impl Unpin for ApplicationAssignmentForPrincipal
impl UnwindSafe for ApplicationAssignmentForPrincipal
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.