squareup/models/list_team_member_booking_profiles_response.rs
1//! Response struct for the List Team Member Booking Profiles API
2
3use serde::Deserialize;
4
5use super::{TeamMemberBookingProfile, errors::Error};
6
7/// This is a model struct for ListTeamMemberBookingProfilesResponse type
8#[derive(Clone, Debug, Deserialize, Eq, PartialEq)]
9pub struct ListTeamMemberBookingProfilesResponse {
10 /// The list of team member booking profiles. The results are returned in the ascending
11 /// order of the time when the team member booking profiles were last updated. Multiple
12 /// booking profiles updated at the same time are further sorted in the ascending order
13 /// of their IDs.
14 pub team_member_booking_profiles: Option<Vec<TeamMemberBookingProfile>>,
15 /// The pagination cursor to be used in a subsequent request. If unset, this is the final
16 /// response.
17 /// Max Length 65536
18 ///
19 /// See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more
20 /// information.
21 pub cursor: Option<String>,
22 /// Information about errors encountered during the request.
23 pub errors: Option<Vec<Error>>,
24}