aws_sdk_lexmodelsv2/protocol_serde/
shape_analytics_intent_filter.rs1pub fn ser_analytics_intent_filter(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::types::AnalyticsIntentFilter,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 {
7 object.key("name").string(input.name.as_str());
8 }
9 {
10 object.key("operator").string(input.operator.as_str());
11 }
12 {
13 let mut array_1 = object.key("values").start_array();
14 for item_2 in &input.values {
15 {
16 array_1.value().string(item_2.as_str());
17 }
18 }
19 array_1.finish();
20 }
21 Ok(())
22}