Struct aws_sdk_s3control::model::Ssekms
source · #[non_exhaustive]pub struct Ssekms { /* private fields */ }
Expand description
Implementations§
source§impl Ssekms
impl Ssekms
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Ssekms
.
Examples found in repository?
src/xml_deser.rs (line 6770)
6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790
pub fn deser_structure_crate_model_ssekms(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Ssekms, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::Ssekms::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("KeyId") /* KeyId com.amazonaws.s3control#SSEKMS$KeyId */ => {
let var_317 =
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_317);
}
,
_ => {}
}
}
Ok(builder.build())
}