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§
§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.
Trait Implementations§
Source§impl Clone for ValidationError
impl Clone for ValidationError
Source§fn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
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 ValidationError
impl Debug for ValidationError
Source§impl Default for ValidationError
impl Default for ValidationError
Source§fn default() -> ValidationError
fn default() -> ValidationError
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidationError
impl PartialEq for ValidationError
impl StructuralPartialEq for ValidationError
Auto Trait Implementations§
impl Freeze for ValidationError
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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