pub struct AdjustedPositionReport {
pub message: Message,
}Expand description
AdjustedPositionReport is the fix50sp1 AdjustedPositionReport type, MsgType = BL.
Fields§
§message: MessageImplementations§
Source§impl AdjustedPositionReport
impl AdjustedPositionReport
Sourcepub fn new(
pos_maint_rpt_id: PosMaintRptIDField,
clearing_business_date: ClearingBusinessDateField,
) -> Self
pub fn new( pos_maint_rpt_id: PosMaintRptIDField, clearing_business_date: ClearingBusinessDateField, ) -> Self
Creates a new AdjustedPositionReport with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a AdjustedPositionReport from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_clearing_business_date(&mut self, v: String)
pub fn set_clearing_business_date(&mut self, v: String)
Sets ClearingBusinessDate, Tag 715.
Sourcepub fn get_clearing_business_date(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_clearing_business_date( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets ClearingBusinessDate, Tag 715.
Sourcepub fn has_clearing_business_date(&self) -> bool
pub fn has_clearing_business_date(&self) -> bool
Returns true if ClearingBusinessDate is present, Tag 715.
Sourcepub fn set_no_party_i_ds(&mut self, v: isize)
pub fn set_no_party_i_ds(&mut self, v: isize)
Sets NoPartyIDs, Tag 453.
Sourcepub fn get_no_party_i_ds(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_no_party_i_ds(&self) -> Result<isize, MessageRejectErrorEnum>
Gets NoPartyIDs, Tag 453.
Sourcepub fn has_no_party_i_ds(&self) -> bool
pub fn has_no_party_i_ds(&self) -> bool
Returns true if NoPartyIDs is present, Tag 453.
Sourcepub fn set_no_positions(&mut self, v: isize)
pub fn set_no_positions(&mut self, v: isize)
Sets NoPositions, Tag 702.
Sourcepub fn get_no_positions(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_no_positions(&self) -> Result<isize, MessageRejectErrorEnum>
Gets NoPositions, Tag 702.
Sourcepub fn has_no_positions(&self) -> bool
pub fn has_no_positions(&self) -> bool
Returns true if NoPositions is present, Tag 702.
Sets NoRelatedSym, Tag 146.
Gets NoRelatedSym, Tag 146.
Returns true if NoRelatedSym is present, Tag 146.
Sourcepub fn set_pos_maint_rpt_id(&mut self, v: String)
pub fn set_pos_maint_rpt_id(&mut self, v: String)
Sets PosMaintRptID, Tag 721.
Sourcepub fn get_pos_maint_rpt_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_pos_maint_rpt_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets PosMaintRptID, Tag 721.
Sourcepub fn has_pos_maint_rpt_id(&self) -> bool
pub fn has_pos_maint_rpt_id(&self) -> bool
Returns true if PosMaintRptID is present, Tag 721.
Sourcepub fn set_pos_maint_rpt_ref_id(&mut self, v: String)
pub fn set_pos_maint_rpt_ref_id(&mut self, v: String)
Sets PosMaintRptRefID, Tag 714.
Sourcepub fn get_pos_maint_rpt_ref_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_pos_maint_rpt_ref_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets PosMaintRptRefID, Tag 714.
Sourcepub fn has_pos_maint_rpt_ref_id(&self) -> bool
pub fn has_pos_maint_rpt_ref_id(&self) -> bool
Returns true if PosMaintRptRefID is present, Tag 714.
Sourcepub fn set_pos_req_type(&mut self, v: isize)
pub fn set_pos_req_type(&mut self, v: isize)
Sets PosReqType, Tag 724.
Sourcepub fn get_pos_req_type(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_pos_req_type(&self) -> Result<isize, MessageRejectErrorEnum>
Gets PosReqType, Tag 724.
Sourcepub fn has_pos_req_type(&self) -> bool
pub fn has_pos_req_type(&self) -> bool
Returns true if PosReqType is present, Tag 724.
Sourcepub fn set_prior_settl_price(&mut self, val: Decimal, scale: i32)
pub fn set_prior_settl_price(&mut self, val: Decimal, scale: i32)
Sets PriorSettlPrice, Tag 734.
Sourcepub fn get_prior_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_prior_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets PriorSettlPrice, Tag 734.
Sourcepub fn has_prior_settl_price(&self) -> bool
pub fn has_prior_settl_price(&self) -> bool
Returns true if PriorSettlPrice is present, Tag 734.
Sourcepub fn set_settl_price(&mut self, val: Decimal, scale: i32)
pub fn set_settl_price(&mut self, val: Decimal, scale: i32)
Sets SettlPrice, Tag 730.
Sourcepub fn get_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets SettlPrice, Tag 730.
Sourcepub fn has_settl_price(&self) -> bool
pub fn has_settl_price(&self) -> bool
Returns true if SettlPrice is present, Tag 730.
Sourcepub fn set_settl_sess_id(&mut self, v: String)
pub fn set_settl_sess_id(&mut self, v: String)
Sets SettlSessID, Tag 716.
Sourcepub fn get_settl_sess_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_settl_sess_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets SettlSessID, Tag 716.
Sourcepub fn has_settl_sess_id(&self) -> bool
pub fn has_settl_sess_id(&self) -> bool
Returns true if SettlSessID is present, Tag 716.