#[non_exhaustive]pub struct AdjustLeverageInfo {
pub est_avail_quote_trans: NumberString,
pub est_avail_trans: NumberString,
pub est_liq_px: NumberString,
pub est_max_amt: NumberString,
pub est_mgn: NumberString,
pub est_quote_mgn: NumberString,
pub est_quote_max_amt: NumberString,
pub exist_ord: bool,
pub max_lever: NumberString,
pub min_lever: NumberString,
}Expand description
Estimated impact and limits for a leverage adjustment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.est_avail_quote_trans: NumberStringEstimated margin in quote currency that can be transferred out.
est_avail_trans: NumberStringEstimated margin that can be transferred out.
est_liq_px: NumberStringEstimated liquidation price.
est_max_amt: NumberStringEstimated maximum amount / contract quantity.
est_mgn: NumberStringEstimated margin needed by the position.
est_quote_mgn: NumberStringEstimated margin in quote currency needed by the position.
est_quote_max_amt: NumberStringEstimated maximum quote-currency loan amount for margin.
exist_ord: boolWhether pending orders exist.
max_lever: NumberStringMaximum leverage.
min_lever: NumberStringMinimum leverage.
Trait Implementations§
Source§impl Clone for AdjustLeverageInfo
impl Clone for AdjustLeverageInfo
Source§fn clone(&self) -> AdjustLeverageInfo
fn clone(&self) -> AdjustLeverageInfo
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 AdjustLeverageInfo
impl Debug for AdjustLeverageInfo
Source§impl<'de> Deserialize<'de> for AdjustLeverageInfo
impl<'de> Deserialize<'de> for AdjustLeverageInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdjustLeverageInfo
impl RefUnwindSafe for AdjustLeverageInfo
impl Send for AdjustLeverageInfo
impl Sync for AdjustLeverageInfo
impl Unpin for AdjustLeverageInfo
impl UnsafeUnpin for AdjustLeverageInfo
impl UnwindSafe for AdjustLeverageInfo
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