Struct aws_sdk_ec2::model::ValidationWarning
source · #[non_exhaustive]pub struct ValidationWarning { /* private fields */ }
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.
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() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ValidationWarning
.
Examples found in repository?
src/xml_deser.rs (line 27851)
27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 27857 27858 27859 27860 27861 27862 27863 27864 27865 27866 27867 27868
pub fn deser_structure_crate_model_validation_warning(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ValidationWarning, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ValidationWarning::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("errorSet") /* Errors com.amazonaws.ec2#ValidationWarning$Errors */ => {
let var_1140 =
Some(
crate::xml_deser::deser_list_com_amazonaws_ec2_error_set(&mut tag)
?
)
;
builder = builder.set_errors(var_1140);
}
,
_ => {}
}
}
Ok(builder.build())
}
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 more