pub struct DepositAddress { /* private fields */ }
Expand description
GET /sapi/v1/capital/deposit/address
Fetch deposit address with network.
- If network is not send, return with default network of the coin.
- You can get network and isDefault in networkList in the response of Get /sapi/v1/capital/config/getall (HMAC SHA256).
Weight(IP): 10
Example
use binance_spot_connector_rust::wallet;
let request = wallet::deposit_address("BNB").network("ETH");
Implementations§
source§impl DepositAddress
impl DepositAddress
pub fn new(coin: &str) -> Self
pub fn network(self, network: &str) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<DepositAddress> for Request
impl From<DepositAddress> for Request
source§fn from(request: DepositAddress) -> Request
fn from(request: DepositAddress) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DepositAddress
impl Send for DepositAddress
impl Sync for DepositAddress
impl Unpin for DepositAddress
impl UnwindSafe for DepositAddress
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