Struct aws_sdk_s3control::model::SsekmsEncryption
source · #[non_exhaustive]pub struct SsekmsEncryption { /* private fields */ }
Expand description
Configuration for the use of SSE-KMS to encrypt generated manifest objects.
Implementations§
source§impl SsekmsEncryption
impl SsekmsEncryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SsekmsEncryption
.
Examples found in repository?
src/xml_deser.rs (line 6936)
6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956
pub fn deser_structure_crate_model_ssekms_encryption(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::SsekmsEncryption, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::SsekmsEncryption::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("KeyId") /* KeyId com.amazonaws.s3control#SSEKMSEncryption$KeyId */ => {
let var_323 =
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_key_id(var_323);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for SsekmsEncryption
impl Clone for SsekmsEncryption
source§fn clone(&self) -> SsekmsEncryption
fn clone(&self) -> SsekmsEncryption
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