#[non_exhaustive]pub struct Phase2EncryptionAlgorithmsListValue { /* private fields */ }
Expand description
The encryption algorithm for phase 2 IKE negotiations.
Implementations§
source§impl Phase2EncryptionAlgorithmsListValue
impl Phase2EncryptionAlgorithmsListValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Phase2EncryptionAlgorithmsListValue
.
Examples found in repository?
src/xml_deser.rs (line 70531)
70526 70527 70528 70529 70530 70531 70532 70533 70534 70535 70536 70537 70538 70539 70540 70541 70542 70543 70544 70545 70546 70547 70548 70549 70550 70551
pub fn deser_structure_crate_model_phase2_encryption_algorithms_list_value(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Phase2EncryptionAlgorithmsListValue, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::Phase2EncryptionAlgorithmsListValue::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("value") /* Value com.amazonaws.ec2#Phase2EncryptionAlgorithmsListValue$Value */ => {
let var_3487 =
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_3487);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for Phase2EncryptionAlgorithmsListValue
impl Clone for Phase2EncryptionAlgorithmsListValue
source§fn clone(&self) -> Phase2EncryptionAlgorithmsListValue
fn clone(&self) -> Phase2EncryptionAlgorithmsListValue
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