Struct aws_sdk_s3control::model::StorageLensAwsOrg
source · #[non_exhaustive]pub struct StorageLensAwsOrg { /* private fields */ }
Expand description
The Amazon Web Services organization for your S3 Storage Lens.
Implementations§
source§impl StorageLensAwsOrg
impl StorageLensAwsOrg
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageLensAwsOrg
.
Examples found in repository?
src/xml_deser.rs (line 4334)
4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354
pub fn deser_structure_crate_model_storage_lens_aws_org(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StorageLensAwsOrg, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::StorageLensAwsOrg::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Arn") /* Arn com.amazonaws.s3control#StorageLensAwsOrg$Arn */ => {
let var_196 =
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_arn(var_196);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for StorageLensAwsOrg
impl Clone for StorageLensAwsOrg
source§fn clone(&self) -> StorageLensAwsOrg
fn clone(&self) -> StorageLensAwsOrg
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