Enum aws_sdk_iam::model::PolicyUsageType [−][src]
#[non_exhaustive]
pub enum PolicyUsageType {
PermissionsBoundary,
PermissionsPolicy,
Unknown(String),
}
Expand description
The policy usage type that indicates whether the policy is used as a permissions policy or as the permissions boundary for an entity.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
PermissionsBoundary
PermissionsPolicy
Unknown(String)
Tuple Fields
0: String
Unknown contains new variants that have been added since this code was generated.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for PolicyUsageType
impl Send for PolicyUsageType
impl Sync for PolicyUsageType
impl Unpin for PolicyUsageType
impl UnwindSafe for PolicyUsageType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more