aws-sdk-ses 1.95.0

AWS SDK for Amazon Simple Email Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(unused_mut)]
pub fn ser_bounced_recipient_info(
    mut writer: ::aws_smithy_query::QueryValueWriter,
    input: &crate::types::BouncedRecipientInfo,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope_1 = writer.prefix("Recipient");
    {
        scope_1.string(&input.recipient);
    }
    #[allow(unused_mut)]
    let mut scope_2 = writer.prefix("RecipientArn");
    if let Some(var_3) = &input.recipient_arn {
        scope_2.string(var_3);
    }
    #[allow(unused_mut)]
    let mut scope_4 = writer.prefix("BounceType");
    if let Some(var_5) = &input.bounce_type {
        scope_4.string(var_5.as_str());
    }
    #[allow(unused_mut)]
    let mut scope_6 = writer.prefix("RecipientDsnFields");
    if let Some(var_7) = &input.recipient_dsn_fields {
        crate::protocol_serde::shape_recipient_dsn_fields::ser_recipient_dsn_fields(scope_6, var_7)?;
    }
    Ok(())
}