pub struct GetDepositRecordsParams {
pub id: Option<String>,
pub tx_id: Option<String>,
pub coin: Option<String>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<u64>,
pub cursor: Option<String>,
}Expand description
Query params for
Client::get_deposit_records.
Fields§
§id: Option<String>Internal ID: Can be used to uniquely identify and filter the deposit. When combined with other parameters, this field takes the highest priority.
tx_id: Option<String>Not queryable for records before 2024-01-01
coin: Option<String>Coin, uppercase only.
start_time: Option<Timestamp>The start timestamp (ms) Note: the query logic is actually effective based on second level.
end_time: Option<Timestamp>The end timestamp (ms) Note: the query logic is actually effective based on second level.
limit: Option<u64>Limit for data size per page. [1, 50]. Default: 50
cursor: Option<String>Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set.
Implementations§
Source§impl GetDepositRecordsParams
impl GetDepositRecordsParams
Sourcepub fn new() -> Self
pub fn new() -> Self
Create with the required fields; set the optional ones with the with_* methods.
Sourcepub fn with_id(self, v: impl Into<String>) -> Self
pub fn with_id(self, v: impl Into<String>) -> Self
Set id: internal ID: Can be used to uniquely identify and filter the deposit. When combined with other parameters, this field takes the highest priority.
Sourcepub fn with_tx_id(self, v: impl Into<String>) -> Self
pub fn with_tx_id(self, v: impl Into<String>) -> Self
Set tx_id: not queryable for records before 2024-01-01.
Sourcepub fn with_start_time(self, v: Timestamp) -> Self
pub fn with_start_time(self, v: Timestamp) -> Self
Set start_time: the start timestamp (ms) Note: the query logic is actually effective based on second level.
Sourcepub fn with_end_time(self, v: Timestamp) -> Self
pub fn with_end_time(self, v: Timestamp) -> Self
Set end_time: the end timestamp (ms) Note: the query logic is actually effective based on second level.
Sourcepub fn with_limit(self, v: u64) -> Self
pub fn with_limit(self, v: u64) -> Self
Set limit: limit for data size per page. [1, 50]. Default: 50.
Sourcepub fn with_cursor(self, v: impl Into<String>) -> Self
pub fn with_cursor(self, v: impl Into<String>) -> Self
Set cursor: cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set.