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 dk_reason(&self) -> Result<Option<DKReason<'_>>, InvalidValue>
pub fn dk_reason(&self) -> Result<Option<DKReason<'_>>, InvalidValue>
The DKReason (127) field.
Sourcepub fn symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>
pub fn symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>
The SymbolSfx (65) field.
Sourcepub fn security_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_id(&self) -> Result<Option<&str>, InvalidValue>
The SecurityID (48) field.
Sourcepub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>
pub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>
The SecurityType (167) field.
Sourcepub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>
pub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>
The MaturityMonthYear (200) field.
Sourcepub fn maturity_day(&self) -> Result<Option<i64>, InvalidValue>
pub fn maturity_day(&self) -> Result<Option<i64>, InvalidValue>
The MaturityDay (205) field.
Sourcepub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>
pub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>
The PutOrCall (201) field.
Sourcepub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>
The StrikePrice (202) field.
Sourcepub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>
pub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>
The OptAttribute (206) field.
Sourcepub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>
The ContractMultiplier (231) field.
Sourcepub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The CouponRate (223) field.
Sourcepub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>
The SecurityExchange (207) field.
Sourcepub fn encoded_issuer_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_issuer_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedIssuerLen (348) field.
Sourcepub fn encoded_issuer(&self) -> Option<&[u8]>
pub fn encoded_issuer(&self) -> Option<&[u8]>
The EncodedIssuer (349) field.
Sourcepub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>
The SecurityDesc (107) field.
Sourcepub fn encoded_security_desc_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_security_desc_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedSecurityDescLen (350) field.
Sourcepub fn encoded_security_desc(&self) -> Option<&[u8]>
pub fn encoded_security_desc(&self) -> Option<&[u8]>
The EncodedSecurityDesc (351) field.
Sourcepub fn cash_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn cash_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>
The CashOrderQty (152) field.
The LastShares (32) field.
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 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