Struct aws_sdk_secretsmanager::operation::validate_resource_policy::ValidateResourcePolicyOutput
source · #[non_exhaustive]pub struct ValidateResourcePolicyOutput {
pub policy_validation_passed: bool,
pub validation_errors: Option<Vec<ValidationErrorsEntry>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.policy_validation_passed: bool
True if your policy passes validation, otherwise false.
validation_errors: Option<Vec<ValidationErrorsEntry>>
Validation errors if your policy didn't pass validation.
Implementations§
source§impl ValidateResourcePolicyOutput
impl ValidateResourcePolicyOutput
sourcepub fn policy_validation_passed(&self) -> bool
pub fn policy_validation_passed(&self) -> bool
True if your policy passes validation, otherwise false.
sourcepub fn validation_errors(&self) -> &[ValidationErrorsEntry]
pub fn validation_errors(&self) -> &[ValidationErrorsEntry]
Validation errors if your policy didn't pass validation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .validation_errors.is_none()
.
source§impl ValidateResourcePolicyOutput
impl ValidateResourcePolicyOutput
sourcepub fn builder() -> ValidateResourcePolicyOutputBuilder
pub fn builder() -> ValidateResourcePolicyOutputBuilder
Creates a new builder-style object to manufacture ValidateResourcePolicyOutput
.
Trait Implementations§
source§impl Clone for ValidateResourcePolicyOutput
impl Clone for ValidateResourcePolicyOutput
source§fn clone(&self) -> ValidateResourcePolicyOutput
fn clone(&self) -> ValidateResourcePolicyOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidateResourcePolicyOutput
impl Debug for ValidateResourcePolicyOutput
source§impl PartialEq for ValidateResourcePolicyOutput
impl PartialEq for ValidateResourcePolicyOutput
source§fn eq(&self, other: &ValidateResourcePolicyOutput) -> bool
fn eq(&self, other: &ValidateResourcePolicyOutput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl RequestId for ValidateResourcePolicyOutput
impl RequestId for ValidateResourcePolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ValidateResourcePolicyOutput
Auto Trait Implementations§
impl Freeze for ValidateResourcePolicyOutput
impl RefUnwindSafe for ValidateResourcePolicyOutput
impl Send for ValidateResourcePolicyOutput
impl Sync for ValidateResourcePolicyOutput
impl Unpin for ValidateResourcePolicyOutput
impl UnwindSafe for ValidateResourcePolicyOutput
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Creates a shared type from an unshared type.