Skip to main content

bybit/models/
universal_transfer_records_request.rs

1use crate::prelude::*;
2
3/// Request for getting universal transfer records
4#[derive(Debug, Serialize, Deserialize, Clone)]
5pub struct UniversalTransferRecordsRequest<'a> {
6    /// UUID. Use the one you generated in createTransfer
7    #[serde(rename = "transferId")]
8    pub transfer_id: Option<&'a str>,
9    /// Coin, uppercase only
10    pub coin: Option<&'a str>,
11    /// Transfer status. `SUCCESS`,`FAILED`,`PENDING`
12    pub status: Option<&'a str>,
13    /// The start timestamp (ms) Note: the query logic is actually effective based on second level
14    #[serde(rename = "startTime")]
15    pub start_time: Option<u64>,
16    /// The end timestamp (ms) Note: the query logic is actually effective based on second level
17    #[serde(rename = "endTime")]
18    pub end_time: Option<u64>,
19    /// Limit for data size per page. [1, 50]. Default: 20
20    pub limit: Option<u32>,
21    /// Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set
22    pub cursor: Option<&'a str>,
23}