aws_sdk_connect/protocol_serde/
shape_deactivate_evaluation_form_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_deactivate_evaluation_form_input_input(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::operation::deactivate_evaluation_form::DeactivateEvaluationFormInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if let Some(var_1) = &input.evaluation_form_version {
7        object.key("EvaluationFormVersion").number(
8            #[allow(clippy::useless_conversion)]
9            ::aws_smithy_types::Number::NegInt((*var_1).into()),
10        );
11    }
12    Ok(())
13}