Struct binance_spot_connector_rust::margin::isolated_margin_transfer::IsolatedMarginTransfer
source · pub struct IsolatedMarginTransfer { /* private fields */ }
Expand description
POST /sapi/v1/margin/isolated/transfer
Weight(UID): 600
Example
use binance_spot_connector_rust::margin;
use rust_decimal_macros::dec;
let request = margin::isolated_margin_transfer("BTC", "BNBUSDT", "SPOT", "ISOLATED_MARGIN", dec!(1.01));
Implementations§
source§impl IsolatedMarginTransfer
impl IsolatedMarginTransfer
pub fn new( asset: &str, symbol: &str, trans_from: &str, trans_to: &str, amount: Decimal ) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<IsolatedMarginTransfer> for Request
impl From<IsolatedMarginTransfer> for Request
source§fn from(request: IsolatedMarginTransfer) -> Request
fn from(request: IsolatedMarginTransfer) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for IsolatedMarginTransfer
impl Send for IsolatedMarginTransfer
impl Sync for IsolatedMarginTransfer
impl Unpin for IsolatedMarginTransfer
impl UnwindSafe for IsolatedMarginTransfer
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