square_api_client/models/catalog_query_prefix.rs
1//! Model struct for CatalogQueryPrefix type.
2
3use serde::Serialize;
4
5/// The query filter to return the search result whose named attribute values are prefixed by the
6/// specified attribute value.
7#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
8pub struct CatalogQueryPrefix {
9 /// The name of the attribute to be searched.
10 ///
11 /// Min Length 1
12 pub attribute_name: String,
13 /// The desired prefix of the search attribute value.
14 ///
15 /// Min Length 1
16 pub attribute_prefix: String,
17}