pub struct DepositHistory { /* private fields */ }
Expand description
GET /sapi/v1/capital/deposit/hisrec
Fetch deposit history.
- Please notice the default
startTime
andendTime
to make sure that time interval is within 0-90 days. - If both
startTime
andendTime
are sent, time betweenstartTime
andendTime
must be less than 90 days.
Weight(IP): 1
Example
use binance_spot_connector_rust::wallet;
let request = wallet::deposit_history().coin("BNB").limit(500);
Implementations§
source§impl DepositHistory
impl DepositHistory
pub fn new() -> Self
pub fn coin(self, coin: &str) -> Self
pub fn status(self, status: u32) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: u64) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl Default for DepositHistory
impl Default for DepositHistory
source§impl From<DepositHistory> for Request
impl From<DepositHistory> for Request
source§fn from(request: DepositHistory) -> Request
fn from(request: DepositHistory) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DepositHistory
impl Send for DepositHistory
impl Sync for DepositHistory
impl Unpin for DepositHistory
impl UnwindSafe for DepositHistory
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