#[non_exhaustive]pub struct ElasticGpuSpecificationResponse { /* private fields */ }
Expand description
Describes an elastic GPU.
Implementations§
source§impl ElasticGpuSpecificationResponse
impl ElasticGpuSpecificationResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ElasticGpuSpecificationResponse
.
Examples found in repository?
src/xml_deser.rs (line 61624)
61620 61621 61622 61623 61624 61625 61626 61627 61628 61629 61630 61631 61632 61633 61634 61635 61636 61637 61638 61639 61640 61641 61642 61643 61644
pub fn deser_structure_crate_model_elastic_gpu_specification_response(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ElasticGpuSpecificationResponse, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ElasticGpuSpecificationResponse::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("type") /* Type com.amazonaws.ec2#ElasticGpuSpecificationResponse$Type */ => {
let var_3014 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_type(var_3014);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ElasticGpuSpecificationResponse
impl Clone for ElasticGpuSpecificationResponse
source§fn clone(&self) -> ElasticGpuSpecificationResponse
fn clone(&self) -> ElasticGpuSpecificationResponse
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