square_api_client/models/
retrieve_wage_setting_response.rs

1//! Response body struct for the Retrieve Wage Setting API
2
3use serde::Deserialize;
4
5use super::{errors::Error, WageSetting};
6
7/// This is a model struct for RetrieveWageSettingResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct RetrieveWageSettingResponse {
10    /// The successfully retrieved `WageSetting` object.
11    pub wage_setting: Option<WageSetting>,
12    /// The errors that occurred during the request.
13    pub errors: Option<Vec<Error>>,
14}