// Generated automatically by schema_generator.rs - DO NOT EDIT.
// Source: ./deriv-api-docs/config/v3/trading_durations/receive.json
// Use direct crate names for imports within generated files
use serde::{Deserialize, Serialize};
// Import shared types from the *same* crate
use crate::trade_type::TradeType;
use crate::duration_item::DurationItem;
// It's a struct
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub struct TradeDurationItem {
/// List of trade durations available for the symbols.\n
// Correct serde attribute construction - Use helper
#[serde(skip_serializing_if = "Option::is_none")]
pub durations: Option<Vec<DurationItem>>,
/// List of trade types available for the symbols.\n
// Correct serde attribute construction - Use helper
#[serde(skip_serializing_if = "Option::is_none")]
pub trade_type: Option<TradeType>,
}