Skip to main content

amazon_spapi/models/supply_sources_2020_07_01/
throughput_unit.rs

1/*
2 * Selling Partner API for Supply Sources
3 *
4 * Manage configurations and capabilities of seller supply sources.
5 *
6 * The version of the OpenAPI document: 2020-07-01
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ThroughputUnit : The throughput unit
15/// The throughput unit
16#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
17pub enum ThroughputUnit {
18    #[serde(rename = "Order")]
19    Order,
20
21}
22
23impl std::fmt::Display for ThroughputUnit {
24    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
25        match self {
26            Self::Order => write!(f, "Order"),
27        }
28    }
29}
30
31impl Default for ThroughputUnit {
32    fn default() -> ThroughputUnit {
33        Self::Order
34    }
35}
36