Skip to main content

AllocationReport

Struct AllocationReport 

Source
pub struct AllocationReport(/* private fields */);
Expand description

The AllocationReport (35=AS) message.

Implementations§

Source§

impl AllocationReport

Source

pub const MSG_TYPE: &[u8] = b"AS"

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

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

Source

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

Source

pub fn alloc_report_id(&self) -> Result<Option<&str>, InvalidValue>

The AllocReportID (755) field.

Source

pub fn alloc_id(&self) -> Result<Option<&str>, InvalidValue>

The AllocID (70) field.

Source

pub fn alloc_trans_type( &self, ) -> Result<Option<AllocTransType<'_>>, InvalidValue>

The AllocTransType (71) field.

Source

pub fn alloc_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The AllocReportRefID (795) field.

Source

pub fn alloc_canc_replace_reason( &self, ) -> Result<Option<AllocCancReplaceReason>, InvalidValue>

The AllocCancReplaceReason (796) field.

Source

pub fn secondary_alloc_id(&self) -> Result<Option<&str>, InvalidValue>

The SecondaryAllocID (793) field.

Source

pub fn alloc_report_type(&self) -> Result<Option<AllocReportType>, InvalidValue>

The AllocReportType (794) field.

Source

pub fn alloc_status(&self) -> Result<Option<AllocStatus>, InvalidValue>

The AllocStatus (87) field.

Source

pub fn alloc_rej_code(&self) -> Result<Option<AllocRejCode>, InvalidValue>

The AllocRejCode (88) field.

Source

pub fn ref_alloc_id(&self) -> Result<Option<&str>, InvalidValue>

The RefAllocID (72) field.

Source

pub fn alloc_intermed_req_type( &self, ) -> Result<Option<AllocIntermedReqType>, InvalidValue>

The AllocIntermedReqType (808) field.

The AllocLinkID (196) field.

The AllocLinkType (197) field.

Source

pub fn booking_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The BookingRefID (466) field.

Source

pub fn alloc_no_orders_type( &self, ) -> Result<Option<AllocNoOrdersType>, InvalidValue>

The AllocNoOrdersType (857) field.

Source

pub fn orders(&self) -> Result<Instances<'_, OrdAllocGrp<'_>>, InvalidValue>

The instances of the NoOrders (73) group.

Source

pub fn execs(&self) -> Result<Instances<'_, ExecAllocGrp<'_>>, InvalidValue>

The instances of the NoExecs (124) group.

Source

pub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>

The PreviouslyReported (570) field.

Source

pub fn reversal_indicator(&self) -> Result<Option<bool>, InvalidValue>

The ReversalIndicator (700) field.

Source

pub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>

The MatchType (574) field.

Source

pub fn side(&self) -> Result<Option<Side<'_>>, InvalidValue>

The Side (54) field.

Source

pub fn instrument(&self) -> Instrument<'_>

The Instrument component.

Source

pub fn instrument_extension(&self) -> InstrumentExtension<'_>

The InstrumentExtension component.

Source

pub fn financing_details(&self) -> FinancingDetails<'_>

The FinancingDetails component.

Source

pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>

The instances of the NoUnderlyings (711) group.

Source

pub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>

The instances of the NoLegs (555) group.

Source

pub fn quantity(&self) -> Result<Option<Decimal>, InvalidValue>

The Quantity (53) field.

Source

pub fn qty_type(&self) -> Result<Option<QtyType>, InvalidValue>

The QtyType (854) field.

Source

pub fn last_mkt(&self) -> Result<Option<&str>, InvalidValue>

The LastMkt (30) field.

Source

pub fn trade_origination_date(&self) -> Result<Option<Date>, InvalidValue>

The TradeOriginationDate (229) field.

Source

pub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>

The TradingSessionID (336) field.

Source

pub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>

The TradingSessionSubID (625) field.

Source

pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>

The PriceType (423) field.

Source

pub fn avg_px(&self) -> Result<Option<Decimal>, InvalidValue>

The AvgPx (6) field.

Source

pub fn avg_par_px(&self) -> Result<Option<Decimal>, InvalidValue>

The AvgParPx (860) field.

Source

pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>

The SpreadOrBenchmarkCurveData component.

Source

pub fn currency(&self) -> Result<Option<&str>, InvalidValue>

The Currency (15) field.

Source

pub fn avg_px_precision(&self) -> Result<Option<i64>, InvalidValue>

The AvgPxPrecision (74) field.

Source

pub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>

The instances of the NoPartyIDs (453) group.

Source

pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>

The TradeDate (75) field.

Source

pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The TransactTime (60) field.

Source

pub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>

The SettlType (63) field.

Source

pub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>

The SettlDate (64) field.

Source

pub fn booking_type(&self) -> Result<Option<BookingType>, InvalidValue>

The BookingType (775) field.

Source

pub fn gross_trade_amt(&self) -> Result<Option<Decimal>, InvalidValue>

The GrossTradeAmt (381) field.

Source

pub fn concession(&self) -> Result<Option<Decimal>, InvalidValue>

The Concession (238) field.

Source

pub fn total_takedown(&self) -> Result<Option<Decimal>, InvalidValue>

The TotalTakedown (237) field.

Source

pub fn net_money(&self) -> Result<Option<Decimal>, InvalidValue>

The NetMoney (118) field.

Source

pub fn position_effect( &self, ) -> Result<Option<PositionEffect<'_>>, InvalidValue>

The PositionEffect (77) field.

Source

pub fn auto_accept_indicator(&self) -> Result<Option<bool>, InvalidValue>

The AutoAcceptIndicator (754) field.

Source

pub fn text(&self) -> Result<Option<&str>, InvalidValue>

The Text (58) field.

Source

pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedTextLen (354) field.

Source

pub fn encoded_text(&self) -> Option<&[u8]>

The EncodedText (355) field.

Source

pub fn num_days_interest(&self) -> Result<Option<i64>, InvalidValue>

The NumDaysInterest (157) field.

Source

pub fn accrued_interest_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The AccruedInterestRate (158) field.

Source

pub fn accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>

The AccruedInterestAmt (159) field.

Source

pub fn total_accrued_interest_amt( &self, ) -> Result<Option<Decimal>, InvalidValue>

The TotalAccruedInterestAmt (540) field.

Source

pub fn interest_at_maturity(&self) -> Result<Option<Decimal>, InvalidValue>

The InterestAtMaturity (738) field.

Source

pub fn end_accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>

The EndAccruedInterestAmt (920) field.

Source

pub fn start_cash(&self) -> Result<Option<Decimal>, InvalidValue>

The StartCash (921) field.

Source

pub fn end_cash(&self) -> Result<Option<Decimal>, InvalidValue>

The EndCash (922) field.

Source

pub fn legal_confirm(&self) -> Result<Option<bool>, InvalidValue>

The LegalConfirm (650) field.

Source

pub fn stipulations( &self, ) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>

The instances of the NoStipulations (232) group.

Source

pub fn yield_data(&self) -> YieldData<'_>

The YieldData component.

Source

pub fn tot_no_allocs(&self) -> Result<Option<i64>, InvalidValue>

The TotNoAllocs (892) field.

Source

pub fn last_fragment(&self) -> Result<Option<bool>, InvalidValue>

The LastFragment (893) field.

Source

pub fn allocs(&self) -> Result<Instances<'_, AllocGrp<'_>>, InvalidValue>

The instances of the NoAllocs (78) group.

Trait Implementations§

Source§

impl Debug for AllocationReport

Source§

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

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

impl Display for AllocationReport

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for AllocationReport

§

impl Forget for AllocationReport

§

impl Move for AllocationReport

§

impl RefUnwindSafe for AllocationReport

§

impl Send for AllocationReport
where Bytes: Send, RawVecInner: Send,

§

impl Sync for AllocationReport
where Bytes: Sync, RawVecInner: Sync,

§

impl Unpin for AllocationReport
where *const u8: Unpin, Align8<*mut ()>: Unpin, &'static Vtable: Unpin, *const u8 is !null: Unpin,

§

impl UnsafeUnpin for AllocationReport
where *const u8: UnsafeUnpin, Align8<*mut ()>: UnsafeUnpin, &'static Vtable: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<RawField>: UnsafeUnpin,

§

impl UnwindSafe for AllocationReport
where *const u8: UnwindSafe, Align8<*mut ()>: UnwindSafe, &'static Vtable: UnwindSafe, RawVecInner: UnwindSafe,

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.