OrderDetail

Struct OrderDetail 

Source
pub struct OrderDetail {
Show 48 fields pub order_number: isize, pub account_id: String, pub preview_time: i64, pub placed_time: i64, pub executed_time: i64, pub order_value: f64, pub status: Option<OrderStatus>, pub order_type: Option<OrderType>, pub order_term: Option<OrderTerm>, pub price_type: Option<PriceType>, pub price_value: String, pub limit_price: f64, pub stop_price: f64, pub stop_limit_price: f64, pub offset_type: Option<OffsetType>, pub offset_value: f64, pub market_session: Option<MarketSession>, pub routing_destination: RoutingDestination, pub bracketed_limit_price: f64, pub initial_stop_price: f64, pub trail_price: f64, pub trigger_price: f64, pub condition_price: f64, pub condition_type: Option<ConditionType>, pub condition_follow_price: Option<ConditionFollowPrice>, pub condition_security_type: String, pub replaced_by_order_id: isize, pub replaces_order_id: isize, pub all_or_none: bool, pub preview_id: i64, pub instrument: Vec<Instrument>, pub messages: Option<Messages>, pub pre_clearance_code: String, pub override_restricted_cd: i32, pub investment_amount: f64, pub position_quantity: Option<PositionQuantity>, pub aip_flag: bool, pub eq_qual: Option<EgQual>, pub re_invest_option: Option<ReInvestOption>, pub estimated_commission: f64, pub estimated_fees: f64, pub estimated_total_amount: f64, pub net_price: f64, pub net_bid: f64, pub net_ask: f64, pub gcd: i32, pub ratio: String, pub mfprice_type: String,
}

Fields§

§order_number: isize§account_id: String§preview_time: i64§placed_time: i64§executed_time: i64§order_value: f64§status: Option<OrderStatus>§order_type: Option<OrderType>§order_term: Option<OrderTerm>§price_type: Option<PriceType>§price_value: String§limit_price: f64§stop_price: f64§stop_limit_price: f64§offset_type: Option<OffsetType>§offset_value: f64§market_session: Option<MarketSession>§routing_destination: RoutingDestination§bracketed_limit_price: f64§initial_stop_price: f64§trail_price: f64§trigger_price: f64§condition_price: f64§condition_type: Option<ConditionType>§condition_follow_price: Option<ConditionFollowPrice>§condition_security_type: String§replaced_by_order_id: isize§replaces_order_id: isize§all_or_none: bool§preview_id: i64§instrument: Vec<Instrument>§messages: Option<Messages>§pre_clearance_code: String§override_restricted_cd: i32§investment_amount: f64§position_quantity: Option<PositionQuantity>§aip_flag: bool§eq_qual: Option<EgQual>§re_invest_option: Option<ReInvestOption>§estimated_commission: f64§estimated_fees: f64§estimated_total_amount: f64§net_price: f64§net_bid: f64§net_ask: f64§gcd: i32§ratio: String§mfprice_type: String

Trait Implementations§

Source§

impl Clone for OrderDetail

Source§

fn clone(&self) -> OrderDetail

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 OrderDetail

Source§

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

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

impl Default for OrderDetail

Source§

fn default() -> OrderDetail

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

impl<'de> Deserialize<'de> for OrderDetail

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for OrderDetail

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. 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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,