square_api_client/models/search_customers_query.rs
1//! Model struct for SearchCustomersQuery type
2
3use serde::Serialize;
4
5use super::{SearchCustomersFilter, SearchCustomersSort};
6
7/// Contains query criteria for the search.
8#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
9pub struct SearchCustomersQuery {
10 /// Criteria to filter results by.
11 pub filter: Option<SearchCustomersFilter>,
12 /// Criteria to sort results by.
13 pub sort: Option<SearchCustomersSort>,
14}