#[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.