pub struct DustTransfer { /* private fields */ }
Expand description
POST /sapi/v1/asset/dust
Convert dust assets to BNB.
Weight(UID): 10
Example
use binance_spot_connector_rust::wallet;
let request = wallet::dust_transfer(vec!["BTC","USDT"]);
Implementations§
source§impl DustTransfer
impl DustTransfer
pub fn new(asset: Vec<&str>) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<DustTransfer> for Request
impl From<DustTransfer> for Request
source§fn from(request: DustTransfer) -> Request
fn from(request: DustTransfer) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DustTransfer
impl Send for DustTransfer
impl Sync for DustTransfer
impl Unpin for DustTransfer
impl UnwindSafe for DustTransfer
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