useserde::{Deserialize, Serialize};/// A single OHLCV candle.
////// This is a pure-data struct with no framework dependencies.
/// The `time` field is epoch seconds (compatible with Lightweight Charts).
#[derive(Debug, Clone, Serialize, Deserialize)]#[serde(rename_all ="camelCase")]pubstructCandle{/// Candle open time as epoch seconds.
pubtime:u64,
pubopen:f64,
pubhigh:f64,
publow:f64,
pubclose:f64,
pubvolume:f64,
}