use serde::Serialize;
#[derive(Debug, Clone, Serialize)]
pub struct SetPositionModeRequest<'a> {
#[serde(rename = "posMode")]
pub pos_mode: &'a str,
}
#[derive(Debug, Clone, Serialize)]
pub struct SetGreeksRequest<'a> {
#[serde(rename = "greeksType")]
pub greeks_type: &'a str,
}
#[derive(Debug, Clone, Serialize)]
pub struct SetIsolatedModeRequest<'a> {
#[serde(rename = "isoMode")]
pub iso_mode: &'a str,
#[serde(rename = "type")]
pub mode_type: &'a str,
}
#[derive(Debug, Clone, Serialize)]
pub struct SetAutoLoanRequest {
#[serde(rename = "autoLoan")]
pub auto_loan: bool,
}
#[derive(Debug, Clone, Serialize)]
pub struct SetAccountLevelRequest<'a> {
#[serde(rename = "acctLv")]
pub acct_lv: &'a str,
}