Struct InstrumentField

Source
#[repr(C)]
pub struct InstrumentField {
Show 32 fields pub is_null: bool, pub ExchangeID: String, pub InstrumentName: String, pub ProductClass: u8, pub DeliveryYear: i32, pub DeliveryMonth: i32, pub MaxMarketOrderVolume: i32, pub MinMarketOrderVolume: i32, pub MaxLimitOrderVolume: i32, pub MinLimitOrderVolume: i32, pub VolumeMultiple: i32, pub PriceTick: f64, pub CreateDate: String, pub OpenDate: String, pub ExpireDate: String, pub StartDelivDate: String, pub EndDelivDate: String, pub InstLifePhase: u8, pub IsTrading: i32, pub PositionType: u8, pub PositionDateType: u8, pub LongMarginRatio: f64, pub ShortMarginRatio: f64, pub MaxMarginSideAlgorithm: u8, pub StrikePrice: f64, pub OptionsType: u8, pub UnderlyingMultiple: f64, pub CombinationType: u8, pub InstrumentID: String, pub ExchangeInstID: String, pub ProductID: String, pub UnderlyingInstrID: String,
}

Fields§

§is_null: bool§ExchangeID: String§InstrumentName: String§ProductClass: u8§DeliveryYear: i32§DeliveryMonth: i32§MaxMarketOrderVolume: i32§MinMarketOrderVolume: i32§MaxLimitOrderVolume: i32§MinLimitOrderVolume: i32§VolumeMultiple: i32§PriceTick: f64§CreateDate: String§OpenDate: String§ExpireDate: String§StartDelivDate: String§EndDelivDate: String§InstLifePhase: u8§IsTrading: i32§PositionType: u8§PositionDateType: u8§LongMarginRatio: f64§ShortMarginRatio: f64§MaxMarginSideAlgorithm: u8§StrikePrice: f64§OptionsType: u8§UnderlyingMultiple: f64§CombinationType: u8§InstrumentID: String§ExchangeInstID: String§ProductID: String§UnderlyingInstrID: String

Trait Implementations§

Source§

impl Clone for InstrumentField

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InstrumentField

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for InstrumentField

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl ExternType for InstrumentField

Source§

type Kind = Trivial

Source§

type Id

A type-level representation of the type’s C++ namespace and type name. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.