Struct binance_spot_connector_rust::trade::my_trades::MyTrades
source · pub struct MyTrades { /* private fields */ }
Expand description
GET /api/v3/myTrades
Get trades for a specific account and symbol.
If fromId
is set, it will get id >= that fromId
. Otherwise most recent orders are returned.
Weight(IP): 10
Example
use binance_spot_connector_rust::trade;
let request = trade::my_trades("BNBUSDT").limit(500);
Implementations§
source§impl MyTrades
impl MyTrades
pub fn new(symbol: &str) -> Self
pub fn order_id(self, order_id: u64) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: u64) -> Self
pub fn from_id(self, from_id: u64) -> 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§
Auto Trait Implementations§
impl RefUnwindSafe for MyTrades
impl Send for MyTrades
impl Sync for MyTrades
impl Unpin for MyTrades
impl UnwindSafe for MyTrades
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