use {
crate::models,
serde::{Deserialize, Serialize},
};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExchangeSettlementTransactionsResponse {
#[serde(rename = "toExchange", skip_serializing_if = "Option::is_none")]
pub to_exchange: Option<Vec<models::ToExchangeTransaction>>,
#[serde(rename = "toCollateral", skip_serializing_if = "Option::is_none")]
pub to_collateral: Option<Vec<models::ToCollateralTransaction>>,
}
impl ExchangeSettlementTransactionsResponse {
pub fn new() -> ExchangeSettlementTransactionsResponse {
ExchangeSettlementTransactionsResponse {
to_exchange: None,
to_collateral: None,
}
}
}