square_api_client/models/
bulk_create_team_members_response.rs

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