Struct aws_sdk_s3::model::InventoryEncryption
source · #[non_exhaustive]pub struct InventoryEncryption { /* private fields */ }
Expand description
Contains the type of server-side encryption used to encrypt the inventory results.
Implementations§
source§impl InventoryEncryption
impl InventoryEncryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryEncryption
.
Examples found in repository?
src/xml_deser.rs (line 7516)
7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543
pub fn deser_structure_crate_model_inventory_encryption(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::InventoryEncryption, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::InventoryEncryption::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("SSE-S3") /* SSES3 com.amazonaws.s3#InventoryEncryption$SSES3 */ => {
let var_413 =
Some(
crate::xml_deser::deser_structure_crate_model_sses3(&mut tag)
?
)
;
builder = builder.set_sses3(var_413);
}
,
s if s.matches("SSE-KMS") /* SSEKMS com.amazonaws.s3#InventoryEncryption$SSEKMS */ => {
let var_414 =
Some(
crate::xml_deser::deser_structure_crate_model_ssekms(&mut tag)
?
)
;
builder = builder.set_ssekms(var_414);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for InventoryEncryption
impl Clone for InventoryEncryption
source§fn clone(&self) -> InventoryEncryption
fn clone(&self) -> InventoryEncryption
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