pub struct FuturesParameters {
pub initial_margin: Option<Decimal>,
pub minimal_margin: Option<Decimal>,
pub var_margin: Option<Decimal>,
pub free_cash: Option<Decimal>,
}Expand description
Futures parameters (futuresParameters).
The fields here are the names this library reads. The current docs give futuresValue and a
futuresPortfolio list instead. See the note on MarginalIndicatorsData.
Fields§
§initial_margin: Option<Decimal>Initial margin (collateral).
minimal_margin: Option<Decimal>Minimal margin.
var_margin: Option<Decimal>Variation margin.
free_cash: Option<Decimal>Free funds.
Trait Implementations§
Source§impl Clone for FuturesParameters
impl Clone for FuturesParameters
Source§fn clone(&self) -> FuturesParameters
fn clone(&self) -> FuturesParameters
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 FuturesParameters
impl Debug for FuturesParameters
Source§impl<'de> Deserialize<'de> for FuturesParameters
impl<'de> Deserialize<'de> for FuturesParameters
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 FuturesParameters
impl RefUnwindSafe for FuturesParameters
impl Send for FuturesParameters
impl Sync for FuturesParameters
impl Unpin for FuturesParameters
impl UnsafeUnpin for FuturesParameters
impl UnwindSafe for FuturesParameters
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