pub struct GetInternalTransferRecordsParams {
pub transfer_id: Option<String>,
pub coin: Option<String>,
pub status: Option<TransferStatus>,
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_internal_transfer_records.
Fields§
§transfer_id: Option<String>§coin: Option<String>§status: Option<TransferStatus>§start_time: Option<Timestamp>Without start_time and end_time, returns the past 7 days by default
end_time: Option<Timestamp>§limit: Option<u64>Limit for data size per page. [1, 50]. Default: 20
cursor: Option<String>Implementations§
Source§impl GetInternalTransferRecordsParams
impl GetInternalTransferRecordsParams
pub fn new() -> Self
pub fn with_transfer_id(self, v: String) -> Self
pub fn with_coin(self, v: String) -> Self
pub fn with_status(self, v: TransferStatus) -> Self
pub fn with_start_time(self, v: Timestamp) -> Self
pub fn with_end_time(self, v: Timestamp) -> Self
pub fn with_limit(self, v: u64) -> Self
pub fn with_cursor(self, v: String) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetInternalTransferRecordsParams
impl RefUnwindSafe for GetInternalTransferRecordsParams
impl Send for GetInternalTransferRecordsParams
impl Sync for GetInternalTransferRecordsParams
impl Unpin for GetInternalTransferRecordsParams
impl UnsafeUnpin for GetInternalTransferRecordsParams
impl UnwindSafe for GetInternalTransferRecordsParams
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