pub struct AllocationACK {
pub message: Message,
}Expand description
AllocationACK is the fix40 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_client_id(&mut self, v: String)
pub fn set_client_id(&mut self, v: String)
Sets ClientID, Tag 109.
Sourcepub fn get_client_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_client_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets ClientID, Tag 109.
Sourcepub fn has_client_id(&self) -> bool
pub fn has_client_id(&self) -> bool
Returns true if ClientID is present, Tag 109.
Sourcepub fn set_exec_broker(&mut self, v: String)
pub fn set_exec_broker(&mut self, v: String)
Sets ExecBroker, Tag 76.
Sourcepub fn get_exec_broker(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_exec_broker(&self) -> Result<String, MessageRejectErrorEnum>
Gets ExecBroker, Tag 76.
Sourcepub fn has_exec_broker(&self) -> bool
pub fn has_exec_broker(&self) -> bool
Returns true if ExecBroker is present, Tag 76.
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.