Struct aws_sdk_cloudfront::model::KeyGroupSummary
source · #[non_exhaustive]pub struct KeyGroupSummary { /* private fields */ }
Expand description
Contains information about a key group.
Implementations§
source§impl KeyGroupSummary
impl KeyGroupSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture KeyGroupSummary
.
Examples found in repository?
src/xml_deser.rs (line 13262)
13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279
pub fn deser_structure_crate_model_key_group_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::KeyGroupSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::KeyGroupSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("KeyGroup") /* KeyGroup com.amazonaws.cloudfront#KeyGroupSummary$KeyGroup */ => {
let var_546 =
Some(
crate::xml_deser::deser_structure_crate_model_key_group(&mut tag)
?
)
;
builder = builder.set_key_group(var_546);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for KeyGroupSummary
impl Clone for KeyGroupSummary
source§fn clone(&self) -> KeyGroupSummary
fn clone(&self) -> KeyGroupSummary
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