pub struct AssetDetail { /* private fields */ }
Expand description
GET /sapi/v1/asset/assetDetail
Fetch details of assets supported on Binance.
- Please get network and other deposit or withdraw details from
GET /sapi/v1/capital/config/getall
.
Weight(IP): 1
Example
use binance_spot_connector_rust::wallet;
let request = wallet::asset_detail().asset("BNB");
Implementations§
source§impl AssetDetail
impl AssetDetail
pub fn new() -> Self
pub fn asset(self, asset: &str) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl Default for AssetDetail
impl Default for AssetDetail
source§impl From<AssetDetail> for Request
impl From<AssetDetail> for Request
source§fn from(request: AssetDetail) -> Request
fn from(request: AssetDetail) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AssetDetail
impl Send for AssetDetail
impl Sync for AssetDetail
impl Unpin for AssetDetail
impl UnwindSafe for AssetDetail
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