Struct aws_sdk_ec2::model::ValidationError [−][src]
#[non_exhaustive]pub struct ValidationError {
pub code: Option<String>,
pub message: Option<String>,
}
Expand description
The error code and error message that is returned for a parameter or parameter combination that is 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
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.code: Option<String>
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.
message: Option<String>
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.
Implementations
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.
Creates a new builder-style object to manufacture ValidationError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more