square_api_client/models/
bulk_update_team_members_response.rs

1//! Response body struct for the Bulk Update Team Members API
2
3use std::collections::HashMap;
4
5use serde::Deserialize;
6
7use super::{errors::Error, UpdateTeamMemberResponse};
8
9/// This is a model struct for BulkUpdateTeamMembersResponse type.
10#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
11pub struct BulkUpdateTeamMembersResponse {
12    /// The successfully updated `TeamMember` objects. Each key is the `team_member_id` that maps
13    /// to the `UpdateTeamMemberRequest`.
14    pub team_members: Option<HashMap<String, UpdateTeamMemberResponse>>,
15    /// The errors that occurred during the request.
16    pub errors: Option<Vec<Error>>,
17}