oanda_v20_openapi/models/
transaction_id_range_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct TransactionIdRangeResponse {
16 #[serde(rename = "transactions", skip_serializing_if = "Option::is_none")]
18 pub transactions: Option<Vec<models::Transaction>>,
19 #[serde(rename = "lastTransactionID", skip_serializing_if = "Option::is_none")]
21 pub last_transaction_id: Option<String>,
22}
23
24impl TransactionIdRangeResponse {
25 pub fn new() -> TransactionIdRangeResponse {
26 TransactionIdRangeResponse {
27 transactions: None,
28 last_transaction_id: None,
29 }
30 }
31}
32