pub struct AllocationAck { /* private fields */ }
Implementations§
Source§impl AllocationAck
impl AllocationAck
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 AllocationAck
impl AllocationAck
pub fn try_new( alloc_id: AllocID, trade_date: TradeDate, alloc_status: AllocStatus, ) -> Result<Self, QuickFixError>
Source§impl AllocationAck
impl AllocationAck
pub fn no_party_i_ds_len(&self) -> usize
pub fn clone_group_no_party_i_ds(&self, index: usize) -> Option<NoPartyIDs>
pub fn iter_no_party_i_ds(&self) -> GroupIterator<'_, Self, NoPartyIDs> ⓘ
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 get_encoded_text_len(&self) -> Option<EncodedTextLen>
pub fn get_encoded_text(&self) -> Option<EncodedText>
pub fn get_legal_confirm(&self) -> Option<LegalConfirm>
pub fn add_no_party_i_ds( &mut self, value: NoPartyIDs, ) -> 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>
pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>
pub fn set_legal_confirm( &mut self, value: LegalConfirm, ) -> Result<&Self, QuickFixError>
pub fn remove_legal_confirm(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for AllocationAck
impl Clone for AllocationAck
Source§fn clone(&self) -> AllocationAck
fn clone(&self) -> AllocationAck
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 AllocationAck
impl Debug for AllocationAck
Source§impl From<AllocationAck> for Message
impl From<AllocationAck> for Message
Source§fn from(input: AllocationAck) -> Self
fn from(input: AllocationAck) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AllocationAck
impl RefUnwindSafe for AllocationAck
impl !Send for AllocationAck
impl !Sync for AllocationAck
impl Unpin for AllocationAck
impl UnwindSafe for AllocationAck
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