Struct AllocationInstructionAck

Source
pub struct AllocationInstructionAck { /* private fields */ }

Implementations§

Source§

impl AllocationInstructionAck

Source

pub const MSG_TYPE_BYTES: &'static str = "P"

Source

pub const MSG_TYPE: MsgType

Source

pub fn header(&mut self) -> Header<'_>

Source

pub fn header_mut(&mut self) -> HeaderMut<'_>

Source

pub fn trailer(&mut self) -> Trailer<'_>

Source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

Source

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

Source

pub fn try_new( alloc_id: AllocID, trade_date: TradeDate, alloc_status: AllocStatus, ) -> Result<Self, QuickFixError>

Source§

impl AllocationInstructionAck

Source

pub fn get_client_id(&self) -> Option<ClientID>

Source

pub fn get_exec_broker(&self) -> Option<ExecBroker>

Source

pub fn get_alloc_id(&self) -> AllocID

Source

pub fn get_trade_date(&self) -> TradeDate

Source

pub fn get_transact_time(&self) -> Option<TransactTime>

Source

pub fn get_alloc_status(&self) -> AllocStatus

Source

pub fn get_alloc_rej_code(&self) -> Option<AllocRejCode>

Source

pub fn get_text(&self) -> Option<Text>

Source

pub fn set_client_id(&mut self, value: ClientID) -> Result<&Self, QuickFixError>

Source

pub fn remove_client_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_exec_broker( &mut self, value: ExecBroker, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_exec_broker(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_alloc_id(&mut self, value: AllocID) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>

Source

pub fn set_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_alloc_status( &mut self, value: AllocStatus, ) -> Result<&Self, QuickFixError>

Source

pub fn set_alloc_rej_code( &mut self, value: AllocRejCode, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_alloc_rej_code(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>

Source

pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>

Trait Implementations§

Source§

impl Clone for AllocationInstructionAck

Source§

fn clone(&self) -> AllocationInstructionAck

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AllocationInstructionAck

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<AllocationInstructionAck> for Message

Source§

fn from(input: AllocationInstructionAck) -> Self

Converts to this type from the input type.
Source§

impl From<Message> for AllocationInstructionAck

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.