pub struct DontKnowTrade { /* private fields */ }
Implementations§
Source§impl DontKnowTrade
impl DontKnowTrade
pub const MSG_TYPE_BYTES: &'static str = "Q"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
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 DontKnowTrade
impl DontKnowTrade
Source§impl DontKnowTrade
impl DontKnowTrade
pub fn get_order_id(&self) -> Option<OrderID>
pub fn get_exec_id(&self) -> Option<ExecID>
pub fn get_dk_reason(&self) -> DKReason
pub fn get_symbol(&self) -> Symbol
pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>
pub fn get_security_id(&self) -> Option<SecurityID>
pub fn get_id_source(&self) -> Option<IDSource>
pub fn get_security_type(&self) -> Option<SecurityType>
pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>
pub fn get_maturity_day(&self) -> Option<MaturityDay>
pub fn get_put_or_call(&self) -> Option<PutOrCall>
pub fn get_strike_price(&self) -> Option<StrikePrice>
pub fn get_opt_attribute(&self) -> Option<OptAttribute>
pub fn get_security_exchange(&self) -> Option<SecurityExchange>
pub fn get_issuer(&self) -> Option<Issuer>
pub fn get_security_desc(&self) -> Option<SecurityDesc>
pub fn get_side(&self) -> Side
pub fn get_order_qty(&self) -> Option<OrderQty>
pub fn get_cash_order_qty(&self) -> Option<CashOrderQty>
pub fn get_last_px(&self) -> Option<LastPx>
pub fn get_text(&self) -> Option<Text>
pub fn set_order_id(&mut self, value: OrderID) -> Result<&Self, QuickFixError>
pub fn remove_order_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_exec_id(&mut self, value: ExecID) -> Result<&Self, QuickFixError>
pub fn remove_exec_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_dk_reason(&mut self, value: DKReason) -> Result<&Self, QuickFixError>
pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>
pub fn set_symbol_sfx( &mut self, value: SymbolSfx, ) -> Result<&Self, QuickFixError>
pub fn remove_symbol_sfx(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_id( &mut self, value: SecurityID, ) -> Result<&Self, QuickFixError>
pub fn remove_security_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_id_source(&mut self, value: IDSource) -> Result<&Self, QuickFixError>
pub fn remove_id_source(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_type( &mut self, value: SecurityType, ) -> Result<&Self, QuickFixError>
pub fn remove_security_type(&mut self) -> Result<&Self, QuickFixError>
pub fn set_maturity_month_year( &mut self, value: MaturityMonthYear, ) -> Result<&Self, QuickFixError>
pub fn remove_maturity_month_year(&mut self) -> Result<&Self, QuickFixError>
pub fn set_maturity_day( &mut self, value: MaturityDay, ) -> Result<&Self, QuickFixError>
pub fn remove_maturity_day(&mut self) -> Result<&Self, QuickFixError>
pub fn set_put_or_call( &mut self, value: PutOrCall, ) -> Result<&Self, QuickFixError>
pub fn remove_put_or_call(&mut self) -> Result<&Self, QuickFixError>
pub fn set_strike_price( &mut self, value: StrikePrice, ) -> Result<&Self, QuickFixError>
pub fn remove_strike_price(&mut self) -> Result<&Self, QuickFixError>
pub fn set_opt_attribute( &mut self, value: OptAttribute, ) -> Result<&Self, QuickFixError>
pub fn remove_opt_attribute(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_exchange( &mut self, value: SecurityExchange, ) -> Result<&Self, QuickFixError>
pub fn remove_security_exchange(&mut self) -> Result<&Self, QuickFixError>
pub fn set_issuer(&mut self, value: Issuer) -> Result<&Self, QuickFixError>
pub fn remove_issuer(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_desc( &mut self, value: SecurityDesc, ) -> Result<&Self, QuickFixError>
pub fn remove_security_desc(&mut self) -> Result<&Self, QuickFixError>
pub fn set_side(&mut self, value: Side) -> Result<&Self, QuickFixError>
pub fn set_order_qty(&mut self, value: OrderQty) -> Result<&Self, QuickFixError>
pub fn remove_order_qty(&mut self) -> Result<&Self, QuickFixError>
pub fn set_cash_order_qty( &mut self, value: CashOrderQty, ) -> Result<&Self, QuickFixError>
pub fn remove_cash_order_qty(&mut self) -> Result<&Self, QuickFixError>
pub fn set_last_px(&mut self, value: LastPx) -> Result<&Self, QuickFixError>
pub fn remove_last_px(&mut self) -> Result<&Self, QuickFixError>
pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>
pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for DontKnowTrade
impl Clone for DontKnowTrade
Source§fn clone(&self) -> DontKnowTrade
fn clone(&self) -> DontKnowTrade
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 DontKnowTrade
impl Debug for DontKnowTrade
Source§impl From<DontKnowTrade> for Message
impl From<DontKnowTrade> for Message
Source§fn from(input: DontKnowTrade) -> Self
fn from(input: DontKnowTrade) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DontKnowTrade
impl RefUnwindSafe for DontKnowTrade
impl !Send for DontKnowTrade
impl !Sync for DontKnowTrade
impl Unpin for DontKnowTrade
impl UnwindSafe for DontKnowTrade
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