Struct aws_sdk_ec2::model::ThroughResourcesStatement
source · #[non_exhaustive]pub struct ThroughResourcesStatement { /* private fields */ }
Expand description
Describes a through resource statement.
Implementations§
source§impl ThroughResourcesStatement
impl ThroughResourcesStatement
sourcepub fn resource_statement(&self) -> Option<&ResourceStatement>
pub fn resource_statement(&self) -> Option<&ResourceStatement>
The resource statement.
source§impl ThroughResourcesStatement
impl ThroughResourcesStatement
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ThroughResourcesStatement
.
Examples found in repository?
src/xml_deser.rs (line 68393)
68389 68390 68391 68392 68393 68394 68395 68396 68397 68398 68399 68400 68401 68402 68403 68404 68405 68406 68407 68408 68409 68410
pub fn deser_structure_crate_model_through_resources_statement(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ThroughResourcesStatement, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ThroughResourcesStatement::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("resourceStatement") /* ResourceStatement com.amazonaws.ec2#ThroughResourcesStatement$ResourceStatement */ => {
let var_3380 =
Some(
crate::xml_deser::deser_structure_crate_model_resource_statement(&mut tag)
?
)
;
builder = builder.set_resource_statement(var_3380);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ThroughResourcesStatement
impl Clone for ThroughResourcesStatement
source§fn clone(&self) -> ThroughResourcesStatement
fn clone(&self) -> ThroughResourcesStatement
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