Struct OrderCancelReplaceRequest

Source
pub struct OrderCancelReplaceRequest { /* private fields */ }

Implementations§

Source§

impl OrderCancelReplaceRequest

Source

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

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 OrderCancelReplaceRequest

Source

pub fn try_new( orig_cl_ord_id: OrigClOrdID, cl_ord_id: ClOrdID, handl_inst: HandlInst, symbol: Symbol, side: Side, order_qty: OrderQty, ord_type: OrdType, ) -> Result<Self, QuickFixError>

Source§

impl OrderCancelReplaceRequest

Source

pub fn get_order_id(&self) -> Option<OrderID>

Source

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

Source

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

Source

pub fn get_orig_cl_ord_id(&self) -> OrigClOrdID

Source

pub fn get_cl_ord_id(&self) -> ClOrdID

Source

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

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_handl_inst(&self) -> HandlInst

Source

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

Source

pub fn get_min_qty(&self) -> Option<MinQty>

Source

pub fn get_max_floor(&self) -> Option<MaxFloor>

Source

pub fn get_ex_destination(&self) -> Option<ExDestination>

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) -> 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_commission(&self) -> Option<Commission>

Source

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

Source

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

Source

pub fn get_forex_req(&self) -> Option<ForexReq>

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 remove_order_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_orig_cl_ord_id( &mut self, value: OrigClOrdID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_cl_ord_id(&mut self, value: ClOrdID) -> 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_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_handl_inst( &mut self, value: HandlInst, ) -> 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_min_qty(&mut self, value: MinQty) -> Result<&Self, QuickFixError>

Source

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

Source

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

Source

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

Source

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

Source

pub fn remove_ex_destination(&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 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_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 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_forex_req(&mut self, value: ForexReq) -> Result<&Self, QuickFixError>

Source

pub fn remove_forex_req(&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 OrderCancelReplaceRequest

Source§

fn clone(&self) -> OrderCancelReplaceRequest

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 OrderCancelReplaceRequest

Source§

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

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

impl From<Message> for OrderCancelReplaceRequest

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.
Source§

impl From<OrderCancelReplaceRequest> for Message

Source§

fn from(input: OrderCancelReplaceRequest) -> 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> 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.