squareup/models/
retrieve_location_booking_profile_response.rs

1//! Response struct for the Retrieve Location Booking Profile API
2
3use serde::Deserialize;
4
5use super::{LocationBookingProfile, errors::Error};
6
7/// This is a model struct for RetrieveLocationBookingProfileResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct RetrieveLocationBookingProfileResponse {
10    /// The requested location booking profile.
11    pub location_booking_profile: Option<LocationBookingProfile>,
12    /// Any errors that occurred during the request.
13    pub errors: Option<Vec<Error>>,
14}