Skip to main content

amazon_spapi/models/services/
fulfillment_time.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/// FulfillmentTime : Input for fulfillment time details
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FulfillmentTime {
17    /// The date, time in UTC of the fulfillment start time in ISO 8601 format.
18    #[serde(rename = "startTime", skip_serializing_if = "Option::is_none")]
19    pub start_time: Option<String>,
20    /// The date, time in UTC of the fulfillment end time in ISO 8601 format.
21    #[serde(rename = "endTime", skip_serializing_if = "Option::is_none")]
22    pub end_time: Option<String>,
23}
24
25impl FulfillmentTime {
26    /// Input for fulfillment time details
27    pub fn new() -> FulfillmentTime {
28        FulfillmentTime {
29            start_time: None,
30            end_time: None,
31        }
32    }
33}
34