amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Supply Sources
 *
 * Manage configurations and capabilities of seller supply sources.
 *
 * The version of the OpenAPI document: 2020-07-01
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// ThroughputUnit : The throughput unit
/// The throughput unit
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum ThroughputUnit {
    #[serde(rename = "Order")]
    Order,

}

impl std::fmt::Display for ThroughputUnit {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Order => write!(f, "Order"),
        }
    }
}

impl Default for ThroughputUnit {
    fn default() -> ThroughputUnit {
        Self::Order
    }
}