square_api_client/models/
business_hours.rs

1//! Model struct for BusinessHours type
2
3use serde::{Deserialize, Serialize};
4
5use super::BusinessHoursPeriod;
6
7/// The hours of operation for a location.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
9pub struct BusinessHours {
10    /// The list of time periods during which the business is open. There can be at most 10 periods
11    /// per day.
12    pub periods: Option<Vec<BusinessHoursPeriod>>,
13}