Struct aws_sdk_ec2::model::PathStatement
source · #[non_exhaustive]pub struct PathStatement { /* private fields */ }
Expand description
Describes a path statement.
Implementations§
source§impl PathStatement
impl PathStatement
sourcepub fn packet_header_statement(&self) -> Option<&PacketHeaderStatement>
pub fn packet_header_statement(&self) -> Option<&PacketHeaderStatement>
The packet header statement.
sourcepub fn resource_statement(&self) -> Option<&ResourceStatement>
pub fn resource_statement(&self) -> Option<&ResourceStatement>
The resource statement.
source§impl PathStatement
impl PathStatement
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PathStatement
.
Examples found in repository?
src/xml_deser.rs (line 64404)
64400 64401 64402 64403 64404 64405 64406 64407 64408 64409 64410 64411 64412 64413 64414 64415 64416 64417 64418 64419 64420 64421 64422 64423 64424 64425 64426 64427 64428 64429 64430 64431
pub fn deser_structure_crate_model_path_statement(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::PathStatement, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::PathStatement::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("packetHeaderStatement") /* PacketHeaderStatement com.amazonaws.ec2#PathStatement$PacketHeaderStatement */ => {
let var_3169 =
Some(
crate::xml_deser::deser_structure_crate_model_packet_header_statement(&mut tag)
?
)
;
builder = builder.set_packet_header_statement(var_3169);
}
,
s if s.matches("resourceStatement") /* ResourceStatement com.amazonaws.ec2#PathStatement$ResourceStatement */ => {
let var_3170 =
Some(
crate::xml_deser::deser_structure_crate_model_resource_statement(&mut tag)
?
)
;
builder = builder.set_resource_statement(var_3170);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for PathStatement
impl Clone for PathStatement
source§fn clone(&self) -> PathStatement
fn clone(&self) -> PathStatement
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