Struct aws_sdk_ec2::types::ValidationWarning
source · #[non_exhaustive]pub struct ValidationWarning {
pub errors: Option<Vec<ValidationError>>,
}
Expand description
The error codes and error messages that are returned for the parameters or parameter combinations that are not valid when a new launch template or new version of a launch template is created.
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.errors: Option<Vec<ValidationError>>
The error codes and error messages.
Implementations§
source§impl ValidationWarning
impl ValidationWarning
sourcepub fn errors(&self) -> Option<&[ValidationError]>
pub fn errors(&self) -> Option<&[ValidationError]>
The error codes and error messages.
source§impl ValidationWarning
impl ValidationWarning
sourcepub fn builder() -> ValidationWarningBuilder
pub fn builder() -> ValidationWarningBuilder
Creates a new builder-style object to manufacture ValidationWarning
.
Trait Implementations§
source§impl Clone for ValidationWarning
impl Clone for ValidationWarning
source§fn clone(&self) -> ValidationWarning
fn clone(&self) -> ValidationWarning
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 ValidationWarning
impl Debug for ValidationWarning
source§impl PartialEq<ValidationWarning> for ValidationWarning
impl PartialEq<ValidationWarning> for ValidationWarning
source§fn eq(&self, other: &ValidationWarning) -> bool
fn eq(&self, other: &ValidationWarning) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidationWarning
Auto Trait Implementations§
impl RefUnwindSafe for ValidationWarning
impl Send for ValidationWarning
impl Sync for ValidationWarning
impl Unpin for ValidationWarning
impl UnwindSafe for ValidationWarning
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