pub struct OrderMarginResult {Show 14 fields
pub type_field: String,
pub trading_symbol: String,
pub exchange: Exchange,
pub span: f64,
pub exposure: f64,
pub option_premium: f64,
pub additional: f64,
pub bo: f64,
pub cash: f64,
pub var: f64,
pub pnl: PnlBreakdown,
pub leverage: f64,
pub charges: ChargesBreakdown,
pub total: f64,
}Expand description
Per-order margin result item from /margins/orders and also used inside basket responses
Fields§
§type_field: StringSegment type (equity/commodity)
trading_symbol: StringTrading symbol
exchange: ExchangeExchange
span: f64§exposure: f64§additional: f64§bo: f64§cash: f64§var: f64§pnl: PnlBreakdownPnL split
leverage: f64Allowed leverage
charges: ChargesBreakdownCharges split
total: f64Total margin block
Trait Implementations§
Source§impl Clone for OrderMarginResult
impl Clone for OrderMarginResult
Source§fn clone(&self) -> OrderMarginResult
fn clone(&self) -> OrderMarginResult
Returns a duplicate of the value. Read more
1.0.0 · 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 OrderMarginResult
impl Debug for OrderMarginResult
Source§impl<'de> Deserialize<'de> for OrderMarginResult
impl<'de> Deserialize<'de> for OrderMarginResult
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 OrderMarginResult
impl RefUnwindSafe for OrderMarginResult
impl Send for OrderMarginResult
impl Sync for OrderMarginResult
impl Unpin for OrderMarginResult
impl UnwindSafe for OrderMarginResult
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