use crate::pmargin::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetMarginRepayLoanV1Resp {
#[serde(rename = "rows", skip_serializing_if = "Option::is_none")]
pub rows: Option<Vec<models::GetMarginRepayLoanV1RespRowsInner>>,
#[serde(rename = "total", skip_serializing_if = "Option::is_none")]
pub total: Option<i32>,
}
impl GetMarginRepayLoanV1Resp {
pub fn new() -> GetMarginRepayLoanV1Resp {
GetMarginRepayLoanV1Resp {
rows: None,
total: None,
}
}
}