Struct binance_spot_connector_rust::wallet::user_asset::UserAsset
source · pub struct UserAsset { /* private fields */ }
Expand description
POST /sapi/v3/asset/getUserAsset
Get user assets, just for positive data.
Weight(IP): 5
Example
use binance_spot_connector_rust::wallet;
let request = wallet::user_asset().asset("BNB");
Implementations§
source§impl UserAsset
impl UserAsset
pub fn new() -> Self
pub fn asset(self, asset: &str) -> Self
pub fn need_btc_valuation(self, need_btc_valuation: bool) -> 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 UserAsset
impl Send for UserAsset
impl Sync for UserAsset
impl Unpin for UserAsset
impl UnwindSafe for UserAsset
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