square_api_client/models/
catalog_query_exact.rs

1//! Model struct for CatalogQueryExact type.
2
3use serde::Serialize;
4
5/// The query filter to return the search result by exact match of the specified attribute name and
6/// value.
7#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
8pub struct CatalogQueryExact {
9    /// The name of the attribute to be searched. Matching of the attribute name is exact.
10    ///
11    /// Min Length 1
12    pub attribute_name: String,
13    /// The desired value of the search attribute. Matching of the attribute value is case
14    /// insensitive and can be partial. For example, if a specified value of "sma", objects with the
15    /// named attribute value of "Small", "small" are both matched.
16    pub attribute_value: String,
17}