pub struct ExecutionReport { /* private fields */ }

Implementations§

source§

impl ExecutionReport

source

pub const MSG_TYPE_BYTES: &'static str = "8"

source

pub const MSG_TYPE: MsgType = _

source

pub fn header(&mut self) -> Header<'_>

source

pub fn header_mut(&mut self) -> HeaderMut<'_>

source

pub fn trailer(&mut self) -> Trailer<'_>

source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

source

pub fn to_fix_string(&self) -> String

Convert inner message as FIX text.

This method is only here for debug / tests purposes. Do not use this in real production code.

source§

impl ExecutionReport

source

pub fn try_new( order_id: OrderID, exec_id: ExecID, exec_trans_type: ExecTransType, ord_status: OrdStatus, symbol: Symbol, side: Side, order_qty: OrderQty, last_shares: LastShares, last_px: LastPx, cum_qty: CumQty, avg_px: AvgPx ) -> Result<Self, QuickFixError>

source§

impl ExecutionReport

source

pub fn get_order_id(&self) -> OrderID

source

pub fn get_cl_ord_id(&self) -> Option<ClOrdID>

source

pub fn get_client_id(&self) -> Option<ClientID>

source

pub fn get_exec_broker(&self) -> Option<ExecBroker>

source

pub fn get_list_id(&self) -> Option<ListID>

source

pub fn get_exec_id(&self) -> ExecID

source

pub fn get_exec_trans_type(&self) -> ExecTransType

source

pub fn get_exec_ref_id(&self) -> Option<ExecRefID>

source

pub fn get_ord_status(&self) -> OrdStatus

source

pub fn get_ord_rej_reason(&self) -> Option<OrdRejReason>

source

pub fn get_account(&self) -> Option<Account>

source

pub fn get_settlmnt_typ(&self) -> Option<SettlmntTyp>

source

pub fn get_fut_sett_date(&self) -> Option<FutSettDate>

source

pub fn get_symbol(&self) -> Symbol

source

pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>

source

pub fn get_security_id(&self) -> Option<SecurityID>

source

pub fn get_id_source(&self) -> Option<IDSource>

source

pub fn get_issuer(&self) -> Option<Issuer>

source

pub fn get_security_desc(&self) -> Option<SecurityDesc>

source

pub fn get_side(&self) -> Side

source

pub fn get_order_qty(&self) -> OrderQty

source

pub fn get_ord_type(&self) -> Option<OrdType>

source

pub fn get_price(&self) -> Option<Price>

source

pub fn get_stop_px(&self) -> Option<StopPx>

source

pub fn get_currency(&self) -> Option<Currency>

source

pub fn get_time_in_force(&self) -> Option<TimeInForce>

source

pub fn get_expire_time(&self) -> Option<ExpireTime>

source

pub fn get_exec_inst(&self) -> Option<ExecInst>

source

pub fn get_rule_80_a(&self) -> Option<Rule80A>

source

pub fn get_last_shares(&self) -> LastShares

source

pub fn get_last_px(&self) -> LastPx

source

pub fn get_last_mkt(&self) -> Option<LastMkt>

source

pub fn get_last_capacity(&self) -> Option<LastCapacity>

source

pub fn get_cum_qty(&self) -> CumQty

source

pub fn get_avg_px(&self) -> AvgPx

source

pub fn get_trade_date(&self) -> Option<TradeDate>

source

pub fn get_transact_time(&self) -> Option<TransactTime>

source

pub fn get_report_to_exch(&self) -> Option<ReportToExch>

source

pub fn get_commission(&self) -> Option<Commission>

source

pub fn get_comm_type(&self) -> Option<CommType>

source

pub fn clone_group_no_misc_fees(&self, index: usize) -> Option<NoMiscFees>

source

pub fn get_net_money(&self) -> Option<NetMoney>

source

pub fn get_settl_curr_amt(&self) -> Option<SettlCurrAmt>

source

pub fn get_settl_currency(&self) -> Option<SettlCurrency>

source

pub fn get_text(&self) -> Option<Text>

source

pub fn set_order_id(&mut self, value: OrderID) -> Result<&Self, QuickFixError>

source

pub fn set_cl_ord_id(&mut self, value: ClOrdID) -> Result<&Self, QuickFixError>

source

pub fn remove_cl_ord_id(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_client_id(&mut self, value: ClientID) -> Result<&Self, QuickFixError>

source

pub fn remove_client_id(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_exec_broker( &mut self, value: ExecBroker ) -> Result<&Self, QuickFixError>

source

pub fn remove_exec_broker(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_list_id(&mut self, value: ListID) -> Result<&Self, QuickFixError>

source

pub fn remove_list_id(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_exec_id(&mut self, value: ExecID) -> Result<&Self, QuickFixError>

source

pub fn set_exec_trans_type( &mut self, value: ExecTransType ) -> Result<&Self, QuickFixError>

source

pub fn set_exec_ref_id( &mut self, value: ExecRefID ) -> Result<&Self, QuickFixError>

source

pub fn remove_exec_ref_id(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_ord_status( &mut self, value: OrdStatus ) -> Result<&Self, QuickFixError>

source

pub fn set_ord_rej_reason( &mut self, value: OrdRejReason ) -> Result<&Self, QuickFixError>

source

pub fn remove_ord_rej_reason(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_account(&mut self, value: Account) -> Result<&Self, QuickFixError>

source

pub fn remove_account(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_settlmnt_typ( &mut self, value: SettlmntTyp ) -> Result<&Self, QuickFixError>

source

pub fn remove_settlmnt_typ(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_fut_sett_date( &mut self, value: FutSettDate ) -> Result<&Self, QuickFixError>

source

pub fn remove_fut_sett_date(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>

source

pub fn set_symbol_sfx( &mut self, value: SymbolSfx ) -> Result<&Self, QuickFixError>

source

pub fn remove_symbol_sfx(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_security_id( &mut self, value: SecurityID ) -> Result<&Self, QuickFixError>

source

pub fn remove_security_id(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_id_source(&mut self, value: IDSource) -> Result<&Self, QuickFixError>

source

pub fn remove_id_source(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_issuer(&mut self, value: Issuer) -> Result<&Self, QuickFixError>

source

pub fn remove_issuer(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_security_desc( &mut self, value: SecurityDesc ) -> Result<&Self, QuickFixError>

source

pub fn remove_security_desc(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_side(&mut self, value: Side) -> Result<&Self, QuickFixError>

source

pub fn set_order_qty(&mut self, value: OrderQty) -> Result<&Self, QuickFixError>

source

pub fn set_ord_type(&mut self, value: OrdType) -> Result<&Self, QuickFixError>

source

pub fn remove_ord_type(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_price(&mut self, value: Price) -> Result<&Self, QuickFixError>

source

pub fn remove_price(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_stop_px(&mut self, value: StopPx) -> Result<&Self, QuickFixError>

source

pub fn remove_stop_px(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_currency(&mut self, value: Currency) -> Result<&Self, QuickFixError>

source

pub fn remove_currency(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_time_in_force( &mut self, value: TimeInForce ) -> Result<&Self, QuickFixError>

source

pub fn remove_time_in_force(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_expire_time( &mut self, value: ExpireTime ) -> Result<&Self, QuickFixError>

source

pub fn remove_expire_time(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_exec_inst(&mut self, value: ExecInst) -> Result<&Self, QuickFixError>

source

pub fn remove_exec_inst(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_rule_80_a(&mut self, value: Rule80A) -> Result<&Self, QuickFixError>

source

pub fn remove_rule_80_a(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_last_shares( &mut self, value: LastShares ) -> Result<&Self, QuickFixError>

source

pub fn set_last_px(&mut self, value: LastPx) -> Result<&Self, QuickFixError>

source

pub fn set_last_mkt(&mut self, value: LastMkt) -> Result<&Self, QuickFixError>

source

pub fn remove_last_mkt(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_last_capacity( &mut self, value: LastCapacity ) -> Result<&Self, QuickFixError>

source

pub fn remove_last_capacity(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_cum_qty(&mut self, value: CumQty) -> Result<&Self, QuickFixError>

source

pub fn set_avg_px(&mut self, value: AvgPx) -> Result<&Self, QuickFixError>

source

pub fn set_trade_date( &mut self, value: TradeDate ) -> Result<&Self, QuickFixError>

source

pub fn remove_trade_date(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_transact_time( &mut self, value: TransactTime ) -> Result<&Self, QuickFixError>

source

pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_report_to_exch( &mut self, value: ReportToExch ) -> Result<&Self, QuickFixError>

source

pub fn remove_report_to_exch(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_commission( &mut self, value: Commission ) -> Result<&Self, QuickFixError>

source

pub fn remove_commission(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_comm_type(&mut self, value: CommType) -> Result<&Self, QuickFixError>

source

pub fn remove_comm_type(&mut self) -> Result<&Self, QuickFixError>

source

pub fn add_no_misc_fees( &mut self, value: NoMiscFees ) -> Result<&Self, QuickFixError>

source

pub fn set_net_money(&mut self, value: NetMoney) -> Result<&Self, QuickFixError>

source

pub fn remove_net_money(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_settl_curr_amt( &mut self, value: SettlCurrAmt ) -> Result<&Self, QuickFixError>

source

pub fn remove_settl_curr_amt(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_settl_currency( &mut self, value: SettlCurrency ) -> Result<&Self, QuickFixError>

source

pub fn remove_settl_currency(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>

source

pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>

Trait Implementations§

source§

impl Clone for ExecutionReport

source§

fn clone(&self) -> ExecutionReport

Returns a copy 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 ExecutionReport

source§

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

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

impl From<ExecutionReport> for Message

source§

fn from(input: ExecutionReport) -> Self

Converts to this type from the input type.
source§

impl From<Message> for ExecutionReport

source§

fn from(input: Message) -> Self

Converts to this type from the input type.

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> 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,

§

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>,

§

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>,

§

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.