Skip to main content

CollateralAssignment

Struct CollateralAssignment 

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

The CollateralAssignment (35=AY) message.

Implementations§

Source§

impl CollateralAssignment

Source

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

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 coll_asgn_id(&self) -> Result<Option<&str>, InvalidValue>

The CollAsgnID (902) field.

Source

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

The CollReqID (894) field.

Source

pub fn coll_asgn_reason(&self) -> Result<Option<CollAsgnReason>, InvalidValue>

The CollAsgnReason (895) field.

Source

pub fn coll_asgn_trans_type( &self, ) -> Result<Option<CollAsgnTransType>, InvalidValue>

The CollAsgnTransType (903) field.

Source

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

The CollAsgnRefID (907) field.

Source

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

The TransactTime (60) field.

Source

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

The ExpireTime (126) field.

Source

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

The instances of the NoPartyIDs (453) group.

Source

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

The Account (1) field.

Source

pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>

The AccountType (581) field.

Source

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

The ClOrdID (11) field.

Source

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

The OrderID (37) field.

Source

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

The SecondaryOrderID (198) field.

Source

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

The SecondaryClOrdID (526) field.

Source

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

The instances of the NoExecs (124) group.

Source

pub fn trades(&self) -> Result<Instances<'_, TrdCollGrp<'_>>, InvalidValue>

The instances of the NoTrades (897) group.

Source

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

The Instrument component.

Source

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

The FinancingDetails component.

Source

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

The SettlDate (64) field.

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 currency(&self) -> Result<Option<&str>, InvalidValue>

The Currency (15) field.

Source

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

The instances of the NoLegs (555) group.

Source

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

The instances of the NoUnderlyings (711) group.

Source

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

The MarginExcess (899) field.

Source

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

The TotalNetValue (900) field.

Source

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

The CashOutstanding (901) field.

Source

pub fn trd_reg_timestamps( &self, ) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>

The instances of the NoTrdRegTimestamps (768) group.

Source

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

The Side (54) field.

Source

pub fn misc_fees(&self) -> Result<Instances<'_, MiscFeesGrp<'_>>, InvalidValue>

The instances of the NoMiscFees (136) group.

Source

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

The Price (44) field.

Source

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

The PriceType (423) field.

Source

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

The AccruedInterestAmt (159) 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 spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>

The SpreadOrBenchmarkCurveData component.

Source

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

The instances of the NoStipulations (232) group.

Source

pub fn settl_instructions_data(&self) -> SettlInstructionsData<'_>

The SettlInstructionsData component.

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 settl_sess_id(&self) -> Result<Option<SettlSessID<'_>>, InvalidValue>

The SettlSessID (716) field.

Source

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

The SettlSessSubID (717) field.

Source

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

The ClearingBusinessDate (715) 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.

Trait Implementations§

Source§

impl Debug for CollateralAssignment

Source§

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

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

impl Display for CollateralAssignment

Source§

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

Formats the value using the given formatter. Read more

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> 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.