Struct aws_sdk_accessanalyzer::operation::check_access_not_granted::CheckAccessNotGrantedOutput
source · #[non_exhaustive]pub struct CheckAccessNotGrantedOutput {
pub result: Option<CheckAccessNotGrantedResult>,
pub message: Option<String>,
pub reasons: Option<Vec<ReasonSummary>>,
/* private fields */
}
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.result: Option<CheckAccessNotGrantedResult>
The result of the check for whether the access is allowed. If the result is PASS
, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
, the specified policy might allow some or all of the permissions in the access object.
message: Option<String>
The message indicating whether the specified access is allowed.
reasons: Option<Vec<ReasonSummary>>
A description of the reasoning of the result.
Implementations§
source§impl CheckAccessNotGrantedOutput
impl CheckAccessNotGrantedOutput
sourcepub fn result(&self) -> Option<&CheckAccessNotGrantedResult>
pub fn result(&self) -> Option<&CheckAccessNotGrantedResult>
The result of the check for whether the access is allowed. If the result is PASS
, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
, the specified policy might allow some or all of the permissions in the access object.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
The message indicating whether the specified access is allowed.
sourcepub fn reasons(&self) -> &[ReasonSummary]
pub fn reasons(&self) -> &[ReasonSummary]
A description of the reasoning of the result.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reasons.is_none()
.
source§impl CheckAccessNotGrantedOutput
impl CheckAccessNotGrantedOutput
sourcepub fn builder() -> CheckAccessNotGrantedOutputBuilder
pub fn builder() -> CheckAccessNotGrantedOutputBuilder
Creates a new builder-style object to manufacture CheckAccessNotGrantedOutput
.
Trait Implementations§
source§impl Clone for CheckAccessNotGrantedOutput
impl Clone for CheckAccessNotGrantedOutput
source§fn clone(&self) -> CheckAccessNotGrantedOutput
fn clone(&self) -> CheckAccessNotGrantedOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckAccessNotGrantedOutput
impl Debug for CheckAccessNotGrantedOutput
source§impl PartialEq for CheckAccessNotGrantedOutput
impl PartialEq for CheckAccessNotGrantedOutput
source§fn eq(&self, other: &CheckAccessNotGrantedOutput) -> bool
fn eq(&self, other: &CheckAccessNotGrantedOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CheckAccessNotGrantedOutput
impl RequestId for CheckAccessNotGrantedOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CheckAccessNotGrantedOutput
Auto Trait Implementations§
impl Freeze for CheckAccessNotGrantedOutput
impl RefUnwindSafe for CheckAccessNotGrantedOutput
impl Send for CheckAccessNotGrantedOutput
impl Sync for CheckAccessNotGrantedOutput
impl Unpin for CheckAccessNotGrantedOutput
impl UnwindSafe for CheckAccessNotGrantedOutput
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