Skip to main content

aws_sdk_detective/protocol_serde/
shape_account.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_account(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::types::Account,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    {
7        object.key("AccountId").string(input.account_id.as_str());
8    }
9    {
10        object.key("EmailAddress").string(input.email_address.as_str());
11    }
12    Ok(())
13}