square_api_client/models/
catalog_query_range.rs

1//! Model struct for CatalogQueryRange type.
2
3use serde::Serialize;
4
5/// The query filter to return the search result whose named attribute values fall between the
6/// specified range.
7#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
8pub struct CatalogQueryRange {
9    /// The name of the attribute to be searched.
10    ///
11    /// Min Length 1
12    pub attribute_name: String,
13    /// The desired minimum value for the search attribute (inclusive).
14    pub attribute_min_value: Option<i64>,
15    /// The desired maximum value for the search attribute (inclusive).
16    pub attribute_max_value: Option<i64>,
17}