pub struct MarginTransferHistory { /* private fields */ }
Expand description
GET /sapi/v1/margin/transfer
- Response in descending order
- Returns data for last 7 days by default
- Set
archived
totrue
to query data from 6 months ago
Weight(IP): 1
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_transfer_history().asset("BNB").current(1).size(100);
Implementations§
source§impl MarginTransferHistory
impl MarginTransferHistory
pub fn new() -> Self
pub fn asset(self, asset: &str) -> Self
pub fn type(self, type: &str) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: u64) -> Self
pub fn current(self, current: u32) -> Self
pub fn size(self, size: u32) -> Self
pub fn archived(self, archived: bool) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl Default for MarginTransferHistory
impl Default for MarginTransferHistory
source§impl From<MarginTransferHistory> for Request
impl From<MarginTransferHistory> for Request
source§fn from(request: MarginTransferHistory) -> Request
fn from(request: MarginTransferHistory) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginTransferHistory
impl Send for MarginTransferHistory
impl Sync for MarginTransferHistory
impl Unpin for MarginTransferHistory
impl UnwindSafe for MarginTransferHistory
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