#[non_exhaustive]pub struct Phase1IntegrityAlgorithmsListValue { /* private fields */ }
Expand description
The integrity algorithm for phase 1 IKE negotiations.
Implementations§
source§impl Phase1IntegrityAlgorithmsListValue
impl Phase1IntegrityAlgorithmsListValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Phase1IntegrityAlgorithmsListValue
.
Examples found in repository?
src/xml_deser.rs (line 70558)
70553 70554 70555 70556 70557 70558 70559 70560 70561 70562 70563 70564 70565 70566 70567 70568 70569 70570 70571 70572 70573 70574 70575 70576 70577 70578
pub fn deser_structure_crate_model_phase1_integrity_algorithms_list_value(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Phase1IntegrityAlgorithmsListValue, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::Phase1IntegrityAlgorithmsListValue::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("value") /* Value com.amazonaws.ec2#Phase1IntegrityAlgorithmsListValue$Value */ => {
let var_3488 =
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_3488);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for Phase1IntegrityAlgorithmsListValue
impl Clone for Phase1IntegrityAlgorithmsListValue
source§fn clone(&self) -> Phase1IntegrityAlgorithmsListValue
fn clone(&self) -> Phase1IntegrityAlgorithmsListValue
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