amazon_spapi/models/services/
appointment_resource.rs

1/*
2 * Selling Partner API for Services
3 *
4 * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// AppointmentResource : The resource that performs or performed appointment fulfillment.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AppointmentResource {
17    /// The resource identifier.
18    #[serde(rename = "resourceId", skip_serializing_if = "Option::is_none")]
19    pub resource_id: Option<String>,
20}
21
22impl AppointmentResource {
23    /// The resource that performs or performed appointment fulfillment.
24    pub fn new() -> AppointmentResource {
25        AppointmentResource {
26            resource_id: None,
27        }
28    }
29}
30