Struct aws_sdk_iam::model::EntityInfo
source · [−]#[non_exhaustive]pub struct EntityInfo {
pub arn: Option<String>,
pub name: Option<String>,
pub type: Option<PolicyOwnerEntityType>,
pub id: Option<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: Option<String>
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.
name: Option<String>
The name of the entity (user or role).
type: Option<PolicyOwnerEntityType>
The type of entity (user or role).
id: Option<String>
The 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
sourceimpl EntityInfo
impl EntityInfo
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&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) -> Option<&PolicyOwnerEntityType>
pub fn type(&self) -> Option<&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.
sourceimpl EntityInfo
impl EntityInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EntityInfo
Trait Implementations
sourceimpl Clone for EntityInfo
impl Clone for EntityInfo
sourcefn clone(&self) -> EntityInfo
fn clone(&self) -> EntityInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EntityInfo
impl Debug for EntityInfo
sourceimpl PartialEq<EntityInfo> for EntityInfo
impl PartialEq<EntityInfo> for EntityInfo
sourcefn eq(&self, other: &EntityInfo) -> bool
fn eq(&self, other: &EntityInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EntityInfo) -> bool
fn ne(&self, other: &EntityInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for EntityInfo
Auto Trait Implementations
impl RefUnwindSafe for EntityInfo
impl Send for EntityInfo
impl Sync for EntityInfo
impl Unpin for EntityInfo
impl UnwindSafe for EntityInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more