square_api_client/models/team_member_assigned_locations.rs
1//! Model struct for TeamMemberAssignedLocations type
2
3use serde::{Deserialize, Serialize};
4
5use super::enums::TeamMemberAssignedLocationsAssignmentType;
6
7/// A record representing an individual team member for a business.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
9pub struct TeamMemberAssignedLocations {
10 /// The current assignment type of the team member.
11 pub assignment_type: Option<TeamMemberAssignedLocationsAssignmentType>,
12 /// The locations that the team member is assigned to.
13 pub location_ids: Option<Vec<String>>,
14}