Struct aws_sdk_s3control::model::S3AccessControlList
source · #[non_exhaustive]pub struct S3AccessControlList { /* private fields */ }
Expand description
Implementations§
source§impl S3AccessControlList
impl S3AccessControlList
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3AccessControlList
.
Examples found in repository?
src/xml_deser.rs (line 6526)
6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553
pub fn deser_structure_crate_model_s3_access_control_list(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::S3AccessControlList, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::S3AccessControlList::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Owner") /* Owner com.amazonaws.s3control#S3AccessControlList$Owner */ => {
let var_306 =
Some(
crate::xml_deser::deser_structure_crate_model_s3_object_owner(&mut tag)
?
)
;
builder = builder.set_owner(var_306);
}
,
s if s.matches("Grants") /* Grants com.amazonaws.s3control#S3AccessControlList$Grants */ => {
let var_307 =
Some(
crate::xml_deser::deser_list_com_amazonaws_s3control_s3_grant_list(&mut tag)
?
)
;
builder = builder.set_grants(var_307);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for S3AccessControlList
impl Clone for S3AccessControlList
source§fn clone(&self) -> S3AccessControlList
fn clone(&self) -> S3AccessControlList
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