Struct aws_sdk_iam::types::EntityInfo
source · #[non_exhaustive]pub struct EntityInfo {
pub arn: String,
pub name: String,
pub type: PolicyOwnerEntityType,
pub id: String,
pub path: Option<String>,
}Expand description
Contains details about the specified entity (user or role).
This data type is an element of the EntityDetails object.
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.arn: StringThe Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
name: StringThe name of the entity (user or role).
type: PolicyOwnerEntityTypeThe type of entity (user or role).
id: StringThe identifier of the entity (user or role).
path: Option<String>The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
Implementations§
source§impl EntityInfo
impl EntityInfo
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn type(&self) -> &PolicyOwnerEntityType
pub fn type(&self) -> &PolicyOwnerEntityType
The type of entity (user or role).
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
source§impl EntityInfo
impl EntityInfo
sourcepub fn builder() -> EntityInfoBuilder
pub fn builder() -> EntityInfoBuilder
Creates a new builder-style object to manufacture EntityInfo.
Trait Implementations§
source§impl Clone for EntityInfo
impl Clone for EntityInfo
source§fn clone(&self) -> EntityInfo
fn clone(&self) -> EntityInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EntityInfo
impl Debug for EntityInfo
source§impl PartialEq for EntityInfo
impl PartialEq for EntityInfo
source§fn eq(&self, other: &EntityInfo) -> bool
fn eq(&self, other: &EntityInfo) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EntityInfo
Auto Trait Implementations§
impl Freeze for EntityInfo
impl RefUnwindSafe for EntityInfo
impl Send for EntityInfo
impl Sync for EntityInfo
impl Unpin for EntityInfo
impl UnwindSafe for EntityInfo
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