pub struct AccountSnapshot { /* private fields */ }
Expand description
GET /sapi/v1/accountSnapshot
- The query time period must be less than 30 days
- Support query within the last one month only
- If startTimeand endTime not sent, return records of the last 7 days by default
Weight(IP): 2400
Example
use binance_spot_connector_rust::wallet;
let request = wallet::account_snapshot("SPOT");
Implementations§
source§impl AccountSnapshot
impl AccountSnapshot
pub fn new(type: &str) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: 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§
source§impl From<AccountSnapshot> for Request
impl From<AccountSnapshot> for Request
source§fn from(request: AccountSnapshot) -> Request
fn from(request: AccountSnapshot) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AccountSnapshot
impl Send for AccountSnapshot
impl Sync for AccountSnapshot
impl Unpin for AccountSnapshot
impl UnwindSafe for AccountSnapshot
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