#[non_exhaustive]pub struct ServerSideEncryptionConfiguration { /* private fields */ }
Expand description
Specifies the default server-side-encryption configuration.
Implementations§
source§impl ServerSideEncryptionConfiguration
impl ServerSideEncryptionConfiguration
sourcepub fn rules(&self) -> Option<&[ServerSideEncryptionRule]>
pub fn rules(&self) -> Option<&[ServerSideEncryptionRule]>
Container for information about a particular server-side encryption configuration rule.
source§impl ServerSideEncryptionConfiguration
impl ServerSideEncryptionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServerSideEncryptionConfiguration
.
Examples found in repository?
src/xml_deser.rs (line 4923)
4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947
pub fn deser_structure_crate_model_server_side_encryption_configuration(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ServerSideEncryptionConfiguration, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::ServerSideEncryptionConfiguration::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Rule") /* Rules com.amazonaws.s3#ServerSideEncryptionConfiguration$Rules */ => {
let var_278 =
Some(
Result::<std::vec::Vec<crate::model::ServerSideEncryptionRule>, aws_smithy_xml::decode::XmlDecodeError>::Ok({
let mut list_279 = builder.rules.take().unwrap_or_default();
list_279.push(
crate::xml_deser::deser_structure_crate_model_server_side_encryption_rule(&mut tag)
?
);
list_279
})
?
)
;
builder = builder.set_rules(var_278);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ServerSideEncryptionConfiguration
impl Clone for ServerSideEncryptionConfiguration
source§fn clone(&self) -> ServerSideEncryptionConfiguration
fn clone(&self) -> ServerSideEncryptionConfiguration
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