pub struct DontKnowTrade(/* private fields */);Expand description
The DontKnowTrade (35=Q) message.
Implementations§
Source§impl DontKnowTrade
impl DontKnowTrade
pub const MSG_TYPE: &[u8] = b"Q"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn secondary_order_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn secondary_order_id(&self) -> Result<Option<&str>, InvalidValue>
The SecondaryOrderID (198) field.
Sourcepub fn dk_reason(&self) -> Result<Option<DKReason<'_>>, InvalidValue>
pub fn dk_reason(&self) -> Result<Option<DKReason<'_>>, InvalidValue>
The DKReason (127) field.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument component.
Sourcepub fn underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
pub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
The instances of the NoLegs (555) group.
Sourcepub fn order_qty_data(&self) -> OrderQtyData<'_>
pub fn order_qty_data(&self) -> OrderQtyData<'_>
The OrderQtyData component.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Trait Implementations§
Source§impl Debug for DontKnowTrade
impl Debug for DontKnowTrade
Auto Trait Implementations§
impl !Freeze for DontKnowTrade
impl Forget for DontKnowTrade
impl Move for DontKnowTrade
impl RefUnwindSafe for DontKnowTrade
impl Send for DontKnowTrade
impl Sync for DontKnowTrade
impl Unpin for DontKnowTrade
impl UnsafeUnpin for DontKnowTradewhere
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<RawField>: UnsafeUnpin,
impl UnwindSafe for DontKnowTradewhere
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
RawVecInner: UnwindSafe,
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