Skip to main content

aws_sdk_lexmodelsv2/protocol_serde/
shape_built_in_slot_type_sort_by.rs

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