#[non_exhaustive]pub struct CheckNoNewAccessOutput {
pub result: Option<CheckNoNewAccessResult>,
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<CheckNoNewAccessResult>
The result of the check for new access. If the result is PASS
, no new access is allowed by the updated policy. If the result is FAIL
, the updated policy might allow new access.
message: Option<String>
The message indicating whether the updated policy allows new access.
reasons: Option<Vec<ReasonSummary>>
A description of the reasoning of the result.
Implementations§
source§impl CheckNoNewAccessOutput
impl CheckNoNewAccessOutput
sourcepub fn result(&self) -> Option<&CheckNoNewAccessResult>
pub fn result(&self) -> Option<&CheckNoNewAccessResult>
The result of the check for new access. If the result is PASS
, no new access is allowed by the updated policy. If the result is FAIL
, the updated policy might allow new access.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
The message indicating whether the updated policy allows new access.
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 CheckNoNewAccessOutput
impl CheckNoNewAccessOutput
sourcepub fn builder() -> CheckNoNewAccessOutputBuilder
pub fn builder() -> CheckNoNewAccessOutputBuilder
Creates a new builder-style object to manufacture CheckNoNewAccessOutput
.
Trait Implementations§
source§impl Clone for CheckNoNewAccessOutput
impl Clone for CheckNoNewAccessOutput
source§fn clone(&self) -> CheckNoNewAccessOutput
fn clone(&self) -> CheckNoNewAccessOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckNoNewAccessOutput
impl Debug for CheckNoNewAccessOutput
source§impl PartialEq for CheckNoNewAccessOutput
impl PartialEq for CheckNoNewAccessOutput
source§fn eq(&self, other: &CheckNoNewAccessOutput) -> bool
fn eq(&self, other: &CheckNoNewAccessOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CheckNoNewAccessOutput
impl RequestId for CheckNoNewAccessOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CheckNoNewAccessOutput
Auto Trait Implementations§
impl Freeze for CheckNoNewAccessOutput
impl RefUnwindSafe for CheckNoNewAccessOutput
impl Send for CheckNoNewAccessOutput
impl Sync for CheckNoNewAccessOutput
impl Unpin for CheckNoNewAccessOutput
impl UnwindSafe for CheckNoNewAccessOutput
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