#[non_exhaustive]pub struct Phase1EncryptionAlgorithmsListValue { /* private fields */ }
Expand description
The encryption algorithm for phase 1 IKE negotiations.
Implementations§
source§impl Phase1EncryptionAlgorithmsListValue
impl Phase1EncryptionAlgorithmsListValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Phase1EncryptionAlgorithmsListValue
.
Examples found in repository?
src/xml_deser.rs (line 70504)
70499 70500 70501 70502 70503 70504 70505 70506 70507 70508 70509 70510 70511 70512 70513 70514 70515 70516 70517 70518 70519 70520 70521 70522 70523 70524
pub fn deser_structure_crate_model_phase1_encryption_algorithms_list_value(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Phase1EncryptionAlgorithmsListValue, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::Phase1EncryptionAlgorithmsListValue::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("value") /* Value com.amazonaws.ec2#Phase1EncryptionAlgorithmsListValue$Value */ => {
let var_3486 =
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_3486);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for Phase1EncryptionAlgorithmsListValue
impl Clone for Phase1EncryptionAlgorithmsListValue
source§fn clone(&self) -> Phase1EncryptionAlgorithmsListValue
fn clone(&self) -> Phase1EncryptionAlgorithmsListValue
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