pub struct MarginMaxBorrowable { /* private fields */ }
Expand description
GET /sapi/v1/margin/maxBorrowable
- If
isolatedSymbol
is not sent, crossed margin data will be sent. borrowLimit
is also available from https://www.binance.com/en/margin-fee
Weight(IP): 50
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_max_borrowable("BTC");
Implementations§
source§impl MarginMaxBorrowable
impl MarginMaxBorrowable
pub fn new(asset: &str) -> Self
pub fn isolated_symbol(self, isolated_symbol: &str) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<MarginMaxBorrowable> for Request
impl From<MarginMaxBorrowable> for Request
source§fn from(request: MarginMaxBorrowable) -> Request
fn from(request: MarginMaxBorrowable) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginMaxBorrowable
impl Send for MarginMaxBorrowable
impl Sync for MarginMaxBorrowable
impl Unpin for MarginMaxBorrowable
impl UnwindSafe for MarginMaxBorrowable
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