Struct binance_spot_connector_rust::margin::margin_pair::MarginPair
source · pub struct MarginPair { /* private fields */ }
Expand description
GET /sapi/v1/margin/pair
Weight(IP): 10
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_pair("BNBUSDT");
Implementations§
source§impl MarginPair
impl MarginPair
pub fn new(symbol: &str) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<MarginPair> for Request
impl From<MarginPair> for Request
source§fn from(request: MarginPair) -> Request
fn from(request: MarginPair) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginPair
impl Send for MarginPair
impl Sync for MarginPair
impl Unpin for MarginPair
impl UnwindSafe for MarginPair
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