pub struct GetTransactionLogParams {
pub account_type: Option<AccountType>,
pub category: Option<Category>,
pub currency: Option<String>,
pub base_coin: Option<String>,
pub transaction_type: Option<String>,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Parameters for getting transaction log.
Fields§
§account_type: Option<AccountType>Account type.
category: Option<Category>Product category.
currency: Option<String>Currency filter.
base_coin: Option<String>Base coin filter.
transaction_type: Option<String>Transaction type filter.
start_time: Option<u64>Start time (ms).
end_time: Option<u64>End time (ms).
limit: Option<u32>Limit.
cursor: Option<String>Cursor.
Implementations§
Source§impl GetTransactionLogParams
impl GetTransactionLogParams
Sourcepub fn account_type(self, account_type: AccountType) -> Self
pub fn account_type(self, account_type: AccountType) -> Self
Set account type.
Sourcepub fn transaction_type(self, t: impl Into<String>) -> Self
pub fn transaction_type(self, t: impl Into<String>) -> Self
Set transaction type filter.
Sourcepub fn start_time(self, start: u64) -> Self
pub fn start_time(self, start: u64) -> Self
Set start time.
Trait Implementations§
Source§impl Clone for GetTransactionLogParams
impl Clone for GetTransactionLogParams
Source§fn clone(&self) -> GetTransactionLogParams
fn clone(&self) -> GetTransactionLogParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetTransactionLogParams
impl Debug for GetTransactionLogParams
Source§impl Default for GetTransactionLogParams
impl Default for GetTransactionLogParams
Auto Trait Implementations§
impl Freeze for GetTransactionLogParams
impl RefUnwindSafe for GetTransactionLogParams
impl Send for GetTransactionLogParams
impl Sync for GetTransactionLogParams
impl Unpin for GetTransactionLogParams
impl UnwindSafe for GetTransactionLogParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more