pub struct AllocationInstructionAck { /* private fields */ }
Implementations§
Source§impl AllocationInstructionAck
impl AllocationInstructionAck
pub const MSG_TYPE_BYTES: &'static str = "P"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
pub fn to_fix_string(&self) -> String
Convert inner message as FIX text.
This method is only here for debug / tests purposes. Do not use this in real production code.
Source§impl AllocationInstructionAck
impl AllocationInstructionAck
pub fn try_new( alloc_id: AllocID, trade_date: TradeDate, alloc_status: AllocStatus, ) -> Result<Self, QuickFixError>
Source§impl AllocationInstructionAck
impl AllocationInstructionAck
pub fn get_client_id(&self) -> Option<ClientID>
pub fn get_exec_broker(&self) -> Option<ExecBroker>
pub fn get_alloc_id(&self) -> AllocID
pub fn get_trade_date(&self) -> TradeDate
pub fn get_transact_time(&self) -> Option<TransactTime>
pub fn get_alloc_status(&self) -> AllocStatus
pub fn get_alloc_rej_code(&self) -> Option<AllocRejCode>
pub fn get_text(&self) -> Option<Text>
pub fn set_client_id(&mut self, value: ClientID) -> Result<&Self, QuickFixError>
pub fn remove_client_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_exec_broker( &mut self, value: ExecBroker, ) -> Result<&Self, QuickFixError>
pub fn remove_exec_broker(&mut self) -> Result<&Self, QuickFixError>
pub fn set_alloc_id(&mut self, value: AllocID) -> Result<&Self, QuickFixError>
pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>
pub fn set_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>
pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_alloc_status( &mut self, value: AllocStatus, ) -> Result<&Self, QuickFixError>
pub fn set_alloc_rej_code( &mut self, value: AllocRejCode, ) -> Result<&Self, QuickFixError>
pub fn remove_alloc_rej_code(&mut self) -> Result<&Self, QuickFixError>
pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>
pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for AllocationInstructionAck
impl Clone for AllocationInstructionAck
Source§fn clone(&self) -> AllocationInstructionAck
fn clone(&self) -> AllocationInstructionAck
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocationInstructionAck
impl Debug for AllocationInstructionAck
Source§impl From<AllocationInstructionAck> for Message
impl From<AllocationInstructionAck> for Message
Source§fn from(input: AllocationInstructionAck) -> Self
fn from(input: AllocationInstructionAck) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AllocationInstructionAck
impl RefUnwindSafe for AllocationInstructionAck
impl !Send for AllocationInstructionAck
impl !Sync for AllocationInstructionAck
impl Unpin for AllocationInstructionAck
impl UnwindSafe for AllocationInstructionAck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more