Skip to main content

AllocationReportAck

Struct AllocationReportAck 

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

AllocationReportAck is the fix50 AllocationReportAck type, MsgType = AT.

Fields§

§message: Message

Implementations§

Source§

impl AllocationReportAck

Source

pub fn new(alloc_report_id: AllocReportIDField, alloc_id: AllocIDField) -> Self

Creates a new AllocationReportAck with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a AllocationReportAck from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

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

Sets AllocID, Tag 70.

Source

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

Gets AllocID, Tag 70.

Source

pub fn has_alloc_id(&self) -> bool

Returns true if AllocID is present, Tag 70.

Source

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

Sets AllocIntermedReqType, Tag 808.

Source

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

Gets AllocIntermedReqType, Tag 808.

Source

pub fn has_alloc_intermed_req_type(&self) -> bool

Returns true if AllocIntermedReqType is present, Tag 808.

Source

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

Sets AllocRejCode, Tag 88.

Source

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

Gets AllocRejCode, Tag 88.

Source

pub fn has_alloc_rej_code(&self) -> bool

Returns true if AllocRejCode is present, Tag 88.

Source

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

Sets AllocReportID, Tag 755.

Source

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

Gets AllocReportID, Tag 755.

Source

pub fn has_alloc_report_id(&self) -> bool

Returns true if AllocReportID is present, Tag 755.

Source

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

Sets AllocReportType, Tag 794.

Source

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

Gets AllocReportType, Tag 794.

Source

pub fn has_alloc_report_type(&self) -> bool

Returns true if AllocReportType is present, Tag 794.

Source

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

Sets AllocStatus, Tag 87.

Source

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

Gets AllocStatus, Tag 87.

Source

pub fn has_alloc_status(&self) -> bool

Returns true if AllocStatus is present, Tag 87.

Source

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

Sets AllocTransType, Tag 71.

Source

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

Gets AllocTransType, Tag 71.

Source

pub fn has_alloc_trans_type(&self) -> bool

Returns true if AllocTransType is present, Tag 71.

Source

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

Sets AvgPxIndicator, Tag 819.

Source

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

Gets AvgPxIndicator, Tag 819.

Source

pub fn has_avg_px_indicator(&self) -> bool

Returns true if AvgPxIndicator is present, Tag 819.

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_encoded_text(&mut self, v: String)

Sets EncodedText, Tag 355.

Source

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

Gets EncodedText, Tag 355.

Source

pub fn has_encoded_text(&self) -> bool

Returns true if EncodedText is present, Tag 355.

Source

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

Sets EncodedTextLen, Tag 354.

Source

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

Gets EncodedTextLen, Tag 354.

Source

pub fn has_encoded_text_len(&self) -> bool

Returns true if EncodedTextLen is present, Tag 354.

Source

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

Sets MatchStatus, Tag 573.

Source

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

Gets MatchStatus, Tag 573.

Source

pub fn has_match_status(&self) -> bool

Returns true if MatchStatus is present, Tag 573.

Source

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

Sets NoAllocs, Tag 78.

Source

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

Gets NoAllocs, Tag 78.

Source

pub fn has_no_allocs(&self) -> bool

Returns true if NoAllocs is present, Tag 78.

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_product(&mut self, v: isize)

Sets Product, Tag 460.

Source

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

Gets Product, Tag 460.

Source

pub fn has_product(&self) -> bool

Returns true if Product is present, Tag 460.

Source

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

Sets Quantity, Tag 53.

Source

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

Gets Quantity, Tag 53.

Source

pub fn has_quantity(&self) -> bool

Returns true if Quantity is present, Tag 53.

Source

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

Sets SecondaryAllocID, Tag 793.

Source

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

Gets SecondaryAllocID, Tag 793.

Source

pub fn has_secondary_alloc_id(&self) -> bool

Returns true if SecondaryAllocID is present, Tag 793.

Source

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

Sets SecurityType, Tag 167.

Source

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

Gets SecurityType, Tag 167.

Source

pub fn has_security_type(&self) -> bool

Returns true if SecurityType is present, Tag 167.

Source

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

Sets Text, Tag 58.

Source

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

Gets Text, Tag 58.

Source

pub fn has_text(&self) -> bool

Returns true if Text is present, Tag 58.

Source

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

Sets TradeDate, Tag 75.

Source

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

Gets TradeDate, Tag 75.

Source

pub fn has_trade_date(&self) -> bool

Returns true if TradeDate is present, Tag 75.

Source

pub fn set_transact_time(&mut self, v: Timestamp)

Sets TransactTime, Tag 60.

Source

pub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>

Gets TransactTime, Tag 60.

Source

pub fn has_transact_time(&self) -> bool

Returns true if TransactTime is present, Tag 60.

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.