pub struct AllocationAck {
pub message: Message,
}Expand description
AllocationAck is the fix43 AllocationAck type, MsgType = P.
Fields§
§message: MessageImplementations§
Source§impl AllocationAck
impl AllocationAck
Sourcepub fn new(
alloc_id: AllocIDField,
trade_date: TradeDateField,
alloc_status: AllocStatusField,
) -> Self
pub fn new( alloc_id: AllocIDField, trade_date: TradeDateField, alloc_status: AllocStatusField, ) -> Self
Creates a new AllocationAck with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a AllocationAck from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_alloc_id(&mut self, v: String)
pub fn set_alloc_id(&mut self, v: String)
Sets AllocID, Tag 70.
Sourcepub fn get_alloc_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_alloc_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets AllocID, Tag 70.
Sourcepub fn has_alloc_id(&self) -> bool
pub fn has_alloc_id(&self) -> bool
Returns true if AllocID is present, Tag 70.
Sourcepub fn set_alloc_rej_code(&mut self, v: isize)
pub fn set_alloc_rej_code(&mut self, v: isize)
Sets AllocRejCode, Tag 88.
Sourcepub fn get_alloc_rej_code(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_alloc_rej_code(&self) -> Result<isize, MessageRejectErrorEnum>
Gets AllocRejCode, Tag 88.
Sourcepub fn has_alloc_rej_code(&self) -> bool
pub fn has_alloc_rej_code(&self) -> bool
Returns true if AllocRejCode is present, Tag 88.
Sourcepub fn set_alloc_status(&mut self, v: isize)
pub fn set_alloc_status(&mut self, v: isize)
Sets AllocStatus, Tag 87.
Sourcepub fn get_alloc_status(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_alloc_status(&self) -> Result<isize, MessageRejectErrorEnum>
Gets AllocStatus, Tag 87.
Sourcepub fn has_alloc_status(&self) -> bool
pub fn has_alloc_status(&self) -> bool
Returns true if AllocStatus is present, Tag 87.
Sourcepub fn set_encoded_text(&mut self, v: String)
pub fn set_encoded_text(&mut self, v: String)
Sets EncodedText, Tag 355.
Sourcepub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets EncodedText, Tag 355.
Sourcepub fn has_encoded_text(&self) -> bool
pub fn has_encoded_text(&self) -> bool
Returns true if EncodedText is present, Tag 355.
Sourcepub fn set_encoded_text_len(&mut self, v: isize)
pub fn set_encoded_text_len(&mut self, v: isize)
Sets EncodedTextLen, Tag 354.
Sourcepub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EncodedTextLen, Tag 354.
Sourcepub fn has_encoded_text_len(&self) -> bool
pub fn has_encoded_text_len(&self) -> bool
Returns true if EncodedTextLen is present, Tag 354.
Sourcepub fn set_legal_confirm(&mut self, v: bool)
pub fn set_legal_confirm(&mut self, v: bool)
Sets LegalConfirm, Tag 650.
Sourcepub fn get_legal_confirm(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_legal_confirm(&self) -> Result<bool, MessageRejectErrorEnum>
Gets LegalConfirm, Tag 650.
Sourcepub fn has_legal_confirm(&self) -> bool
pub fn has_legal_confirm(&self) -> bool
Returns true if LegalConfirm is present, Tag 650.
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 get_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets Text, Tag 58.
Sourcepub fn set_trade_date(&mut self, v: String)
pub fn set_trade_date(&mut self, v: String)
Sets TradeDate, Tag 75.
Sourcepub fn get_trade_date(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_trade_date(&self) -> Result<String, MessageRejectErrorEnum>
Gets TradeDate, Tag 75.
Sourcepub fn has_trade_date(&self) -> bool
pub fn has_trade_date(&self) -> bool
Returns true if TradeDate is present, Tag 75.
Sourcepub fn set_transact_time(&mut self, v: Timestamp)
pub fn set_transact_time(&mut self, v: Timestamp)
Sets TransactTime, Tag 60.
Sourcepub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TransactTime, Tag 60.
Sourcepub fn has_transact_time(&self) -> bool
pub fn has_transact_time(&self) -> bool
Returns true if TransactTime is present, Tag 60.