pub struct FuturesInstrument {Show 20 fields
pub symbol: String,
pub instrument_type: String,
pub underlying: String,
pub tick_size: f64,
pub contract_size: f64,
pub tradeable: bool,
pub impact_mid_size: f64,
pub max_position_size: f64,
pub opening_date: String,
pub margin_levels: Vec<FuturesMarginLevel>,
pub funding_rate_coefficient: Option<i32>,
pub max_relative_funding_rate: Option<f64>,
pub isin: Option<String>,
pub contract_value_trade_precision: i32,
pub post_only: bool,
pub fee_schedule_uid: String,
pub mtf: bool,
pub base: String,
pub quote: String,
pub pair: String,
}Fields§
§symbol: String§instrument_type: String§underlying: String§tick_size: f64§contract_size: f64§tradeable: bool§impact_mid_size: f64§max_position_size: f64§opening_date: String§margin_levels: Vec<FuturesMarginLevel>§funding_rate_coefficient: Option<i32>§max_relative_funding_rate: Option<f64>§isin: Option<String>§contract_value_trade_precision: i32§post_only: bool§fee_schedule_uid: String§mtf: bool§base: String§quote: String§pair: StringTrait Implementations§
Source§impl Clone for FuturesInstrument
impl Clone for FuturesInstrument
Source§fn clone(&self) -> FuturesInstrument
fn clone(&self) -> FuturesInstrument
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 FuturesInstrument
impl Debug for FuturesInstrument
Source§impl<'de> Deserialize<'de> for FuturesInstrument
impl<'de> Deserialize<'de> for FuturesInstrument
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 FuturesInstrument
impl RefUnwindSafe for FuturesInstrument
impl Send for FuturesInstrument
impl Sync for FuturesInstrument
impl Unpin for FuturesInstrument
impl UnwindSafe for FuturesInstrument
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more