use crate::derivatives::options::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OptionsGetIndexV1Resp {
#[serde(rename = "indexPrice", skip_serializing_if = "Option::is_none")]
pub index_price: Option<String>,
#[serde(rename = "time", skip_serializing_if = "Option::is_none")]
pub time: Option<i64>,
}
impl OptionsGetIndexV1Resp {
pub fn new() -> OptionsGetIndexV1Resp {
OptionsGetIndexV1Resp {
index_price: None,
time: None,
}
}
}