pub struct MaxLoanRequest { /* private fields */ }Expand description
Query parameters for maximum loan.
Implementations§
Source§impl MaxLoanRequest
impl MaxLoanRequest
Sourcepub fn new(inst_id: impl Into<String>, mgn_mode: TradeMode) -> Self
pub fn new(inst_id: impl Into<String>, mgn_mode: TradeMode) -> Self
Create a maximum-loan query.
Sourcepub fn margin_currency(self, mgn_ccy: impl Into<String>) -> Self
pub fn margin_currency(self, mgn_ccy: impl Into<String>) -> Self
Set the margin currency.
Sourcepub fn trade_quote_currency(self, trade_quote_ccy: impl Into<String>) -> Self
pub fn trade_quote_currency(self, trade_quote_ccy: impl Into<String>) -> Self
Set the trade quote currency.
Trait Implementations§
Source§impl Clone for MaxLoanRequest
impl Clone for MaxLoanRequest
Source§fn clone(&self) -> MaxLoanRequest
fn clone(&self) -> MaxLoanRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaxLoanRequest
impl Debug for MaxLoanRequest
Auto Trait Implementations§
impl Freeze for MaxLoanRequest
impl RefUnwindSafe for MaxLoanRequest
impl Send for MaxLoanRequest
impl Sync for MaxLoanRequest
impl Unpin for MaxLoanRequest
impl UnsafeUnpin for MaxLoanRequest
impl UnwindSafe for MaxLoanRequest
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