square_api_client/models/search_team_members_response.rs
1//! Response body struct for the Search Team Members API
2
3use serde::Deserialize;
4
5use super::{errors::Error, TeamMember};
6
7/// This is a model struct for SearchTeamMembersResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct SearchTeamMembersResponse {
10 /// The filtered list of `TeamMember` objects.
11 pub team_members: Option<Vec<TeamMember>>,
12 /// The opaque cursor for fetching the next page. For more information, see
13 /// [pagination](https://developer.squareup.com/docs/working-with-apis/pagination).
14 pub cursor: Option<String>,
15 /// The errors that occurred during the request.
16 pub errors: Option<Vec<Error>>,
17}