pub struct PositionMaintenanceRequest(/* private fields */);Expand description
The PositionMaintenanceRequest (35=AL) message.
Implementations§
Source§impl PositionMaintenanceRequest
impl PositionMaintenanceRequest
pub const MSG_TYPE: &[u8] = b"AL"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn pos_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn pos_req_id(&self) -> Result<Option<&str>, InvalidValue>
The PosReqID (710) field.
Sourcepub fn pos_trans_type(&self) -> Result<Option<PosTransType>, InvalidValue>
pub fn pos_trans_type(&self) -> Result<Option<PosTransType>, InvalidValue>
The PosTransType (709) field.
Sourcepub fn pos_maint_action(&self) -> Result<Option<PosMaintAction>, InvalidValue>
pub fn pos_maint_action(&self) -> Result<Option<PosMaintAction>, InvalidValue>
The PosMaintAction (712) field.
Sourcepub fn orig_pos_req_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn orig_pos_req_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The OrigPosReqRefID (713) field.
Sourcepub fn pos_maint_rpt_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn pos_maint_rpt_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The PosMaintRptRefID (714) field.
Sourcepub fn clearing_business_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn clearing_business_date(&self) -> Result<Option<Date>, InvalidValue>
The ClearingBusinessDate (715) field.
Sourcepub fn settl_sess_id(&self) -> Result<Option<SettlSessID<'_>>, InvalidValue>
pub fn settl_sess_id(&self) -> Result<Option<SettlSessID<'_>>, InvalidValue>
The SettlSessID (716) field.
Sourcepub fn settl_sess_sub_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn settl_sess_sub_id(&self) -> Result<Option<&str>, InvalidValue>
The SettlSessSubID (717) field.
Sourcepub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
pub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
The instances of the NoPartyIDs (453) group.
Sourcepub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
pub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
The AcctIDSource (660) field.
Sourcepub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
The AccountType (581) field.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument component.
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 underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn trading_sessions(
&self,
) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
pub fn trading_sessions( &self, ) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
The instances of the NoTradingSessions (386) group.
Sourcepub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TransactTime (60) field.
Sourcepub fn positions(&self) -> Result<Instances<'_, PositionQty<'_>>, InvalidValue>
pub fn positions(&self) -> Result<Instances<'_, PositionQty<'_>>, InvalidValue>
The instances of the NoPositions (702) group.
Sourcepub fn adjustment_type(&self) -> Result<Option<AdjustmentType>, InvalidValue>
pub fn adjustment_type(&self) -> Result<Option<AdjustmentType>, InvalidValue>
The AdjustmentType (718) field.
Sourcepub fn contrary_instruction_indicator(
&self,
) -> Result<Option<bool>, InvalidValue>
pub fn contrary_instruction_indicator( &self, ) -> Result<Option<bool>, InvalidValue>
The ContraryInstructionIndicator (719) field.
Sourcepub fn prior_spread_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn prior_spread_indicator(&self) -> Result<Option<bool>, InvalidValue>
The PriorSpreadIndicator (720) field.
Sourcepub fn threshold_amount(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn threshold_amount(&self) -> Result<Option<Decimal>, InvalidValue>
The ThresholdAmount (834) 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.