Skip to main content

AdjustedPositionReport

Struct AdjustedPositionReport 

Source
pub struct AdjustedPositionReport {
    pub message: Message,
}
Expand description

AdjustedPositionReport is the fix50sp2 AdjustedPositionReport type, MsgType = BL.

Fields§

§message: Message

Implementations§

Source§

impl AdjustedPositionReport

Source

pub fn new( pos_maint_rpt_id: PosMaintRptIDField, clearing_business_date: ClearingBusinessDateField, ) -> Self

Creates a new AdjustedPositionReport with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a AdjustedPositionReport from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_clearing_business_date(&mut self, v: String)

Sets ClearingBusinessDate, Tag 715.

Source

pub fn get_clearing_business_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets ClearingBusinessDate, Tag 715.

Source

pub fn has_clearing_business_date(&self) -> bool

Returns true if ClearingBusinessDate is present, Tag 715.

Source

pub fn set_no_party_i_ds(&mut self, v: isize)

Sets NoPartyIDs, Tag 453.

Source

pub fn get_no_party_i_ds(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoPartyIDs, Tag 453.

Source

pub fn has_no_party_i_ds(&self) -> bool

Returns true if NoPartyIDs is present, Tag 453.

Source

pub fn set_no_positions(&mut self, v: isize)

Sets NoPositions, Tag 702.

Source

pub fn get_no_positions(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoPositions, Tag 702.

Source

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.

Source

pub fn set_pos_maint_rpt_id(&mut self, v: String)

Sets PosMaintRptID, Tag 721.

Source

pub fn get_pos_maint_rpt_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets PosMaintRptID, Tag 721.

Source

pub fn has_pos_maint_rpt_id(&self) -> bool

Returns true if PosMaintRptID is present, Tag 721.

Source

pub fn set_pos_maint_rpt_ref_id(&mut self, v: String)

Sets PosMaintRptRefID, Tag 714.

Source

pub fn get_pos_maint_rpt_ref_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets PosMaintRptRefID, Tag 714.

Source

pub fn has_pos_maint_rpt_ref_id(&self) -> bool

Returns true if PosMaintRptRefID is present, Tag 714.

Source

pub fn set_pos_req_type(&mut self, v: isize)

Sets PosReqType, Tag 724.

Source

pub fn get_pos_req_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PosReqType, Tag 724.

Source

pub fn has_pos_req_type(&self) -> bool

Returns true if PosReqType is present, Tag 724.

Source

pub fn set_prior_settl_price(&mut self, val: Decimal, scale: i32)

Sets PriorSettlPrice, Tag 734.

Source

pub fn get_prior_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets PriorSettlPrice, Tag 734.

Source

pub fn has_prior_settl_price(&self) -> bool

Returns true if PriorSettlPrice is present, Tag 734.

Source

pub fn set_settl_price(&mut self, val: Decimal, scale: i32)

Sets SettlPrice, Tag 730.

Source

pub fn get_settl_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets SettlPrice, Tag 730.

Source

pub fn has_settl_price(&self) -> bool

Returns true if SettlPrice is present, Tag 730.

Source

pub fn set_settl_sess_id(&mut self, v: String)

Sets SettlSessID, Tag 716.

Source

pub fn get_settl_sess_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettlSessID, Tag 716.

Source

pub fn has_settl_sess_id(&self) -> bool

Returns true if SettlSessID is present, Tag 716.

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.