#[non_exhaustive]pub struct ValidationErrorsEntryBuilder { /* private fields */ }
Expand description
A builder for ValidationErrorsEntry
.
Implementations§
source§impl ValidationErrorsEntryBuilder
impl ValidationErrorsEntryBuilder
sourcepub fn check_name(self, input: impl Into<String>) -> Self
pub fn check_name(self, input: impl Into<String>) -> Self
Checks the name of the policy.
sourcepub fn set_check_name(self, input: Option<String>) -> Self
pub fn set_check_name(self, input: Option<String>) -> Self
Checks the name of the policy.
sourcepub fn get_check_name(&self) -> &Option<String>
pub fn get_check_name(&self) -> &Option<String>
Checks the name of the policy.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
Displays error messages if validation encounters problems during validation of the resource policy.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
Displays error messages if validation encounters problems during validation of the resource policy.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
Displays error messages if validation encounters problems during validation of the resource policy.
sourcepub fn build(self) -> ValidationErrorsEntry
pub fn build(self) -> ValidationErrorsEntry
Consumes the builder and constructs a ValidationErrorsEntry
.
Trait Implementations§
source§impl Clone for ValidationErrorsEntryBuilder
impl Clone for ValidationErrorsEntryBuilder
source§fn clone(&self) -> ValidationErrorsEntryBuilder
fn clone(&self) -> ValidationErrorsEntryBuilder
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 ValidationErrorsEntryBuilder
impl Debug for ValidationErrorsEntryBuilder
source§impl Default for ValidationErrorsEntryBuilder
impl Default for ValidationErrorsEntryBuilder
source§fn default() -> ValidationErrorsEntryBuilder
fn default() -> ValidationErrorsEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidationErrorsEntryBuilder
impl PartialEq for ValidationErrorsEntryBuilder
source§fn eq(&self, other: &ValidationErrorsEntryBuilder) -> bool
fn eq(&self, other: &ValidationErrorsEntryBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ValidationErrorsEntryBuilder
Auto Trait Implementations§
impl Freeze for ValidationErrorsEntryBuilder
impl RefUnwindSafe for ValidationErrorsEntryBuilder
impl Send for ValidationErrorsEntryBuilder
impl Sync for ValidationErrorsEntryBuilder
impl Unpin for ValidationErrorsEntryBuilder
impl UnwindSafe for ValidationErrorsEntryBuilder
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.