#[non_exhaustive]pub struct Phase2IntegrityAlgorithmsListValue { /* private fields */ }
Expand description
The integrity algorithm for phase 2 IKE negotiations.
Implementations§
source§impl Phase2IntegrityAlgorithmsListValue
impl Phase2IntegrityAlgorithmsListValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Phase2IntegrityAlgorithmsListValue
.
Examples found in repository?
src/xml_deser.rs (line 70585)
70580 70581 70582 70583 70584 70585 70586 70587 70588 70589 70590 70591 70592 70593 70594 70595 70596 70597 70598 70599 70600 70601 70602 70603 70604 70605
pub fn deser_structure_crate_model_phase2_integrity_algorithms_list_value(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Phase2IntegrityAlgorithmsListValue, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::Phase2IntegrityAlgorithmsListValue::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("value") /* Value com.amazonaws.ec2#Phase2IntegrityAlgorithmsListValue$Value */ => {
let var_3489 =
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_value(var_3489);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for Phase2IntegrityAlgorithmsListValue
impl Clone for Phase2IntegrityAlgorithmsListValue
source§fn clone(&self) -> Phase2IntegrityAlgorithmsListValue
fn clone(&self) -> Phase2IntegrityAlgorithmsListValue
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