#[non_exhaustive]pub struct DescribePermissionsOutput {
pub permissions: Option<Vec<Permission>>,
/* private fields */
}Expand description
Contains the response to a DescribePermissions request.
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.permissions: Option<Vec<Permission>>An array of Permission objects that describe the stack permissions.
-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject with permissions for each of the user's stack IDs. -
If the request contains a stack ID and an IAM ARN, the array contains a single
Permissionobject with permissions for the specified stack and IAM ARN.
Implementations§
source§impl DescribePermissionsOutput
impl DescribePermissionsOutput
sourcepub fn permissions(&self) -> &[Permission]
pub fn permissions(&self) -> &[Permission]
An array of Permission objects that describe the stack permissions.
-
If the request object contains only a stack ID, the array contains a
Permissionobject with permissions for each of the stack IAM ARNs. -
If the request object contains only an IAM ARN, the array contains a
Permissionobject with permissions for each of the user's stack IDs. -
If the request contains a stack ID and an IAM ARN, the array contains a single
Permissionobject with permissions for the specified stack and IAM ARN.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none().
source§impl DescribePermissionsOutput
impl DescribePermissionsOutput
sourcepub fn builder() -> DescribePermissionsOutputBuilder
pub fn builder() -> DescribePermissionsOutputBuilder
Creates a new builder-style object to manufacture DescribePermissionsOutput.
Trait Implementations§
source§impl Clone for DescribePermissionsOutput
impl Clone for DescribePermissionsOutput
source§fn clone(&self) -> DescribePermissionsOutput
fn clone(&self) -> DescribePermissionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribePermissionsOutput
impl Debug for DescribePermissionsOutput
source§impl PartialEq for DescribePermissionsOutput
impl PartialEq for DescribePermissionsOutput
source§fn eq(&self, other: &DescribePermissionsOutput) -> bool
fn eq(&self, other: &DescribePermissionsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribePermissionsOutput
impl RequestId for DescribePermissionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribePermissionsOutput
Auto Trait Implementations§
impl Freeze for DescribePermissionsOutput
impl RefUnwindSafe for DescribePermissionsOutput
impl Send for DescribePermissionsOutput
impl Sync for DescribePermissionsOutput
impl Unpin for DescribePermissionsOutput
impl UnwindSafe for DescribePermissionsOutput
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