Struct SettlementInstructions

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

Implementations§

Source§

impl SettlementInstructions

Source

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

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 SettlementInstructions

Source

pub fn try_new( settl_inst_id: SettlInstID, settl_inst_trans_type: SettlInstTransType, settl_inst_mode: SettlInstMode, settl_inst_source: SettlInstSource, alloc_account: AllocAccount, transact_time: TransactTime, ) -> Result<Self, QuickFixError>

Source§

impl SettlementInstructions

Source

pub fn get_settl_inst_id(&self) -> SettlInstID

Source

pub fn get_settl_inst_trans_type(&self) -> SettlInstTransType

Source

pub fn get_settl_inst_mode(&self) -> SettlInstMode

Source

pub fn get_settl_inst_source(&self) -> SettlInstSource

Source

pub fn get_alloc_account(&self) -> AllocAccount

Source

pub fn get_settl_location(&self) -> Option<SettlLocation>

Source

pub fn get_trade_date(&self) -> Option<TradeDate>

Source

pub fn get_alloc_id(&self) -> Option<AllocID>

Source

pub fn get_last_mkt(&self) -> Option<LastMkt>

Source

pub fn get_side(&self) -> Option<Side>

Source

pub fn get_security_type(&self) -> Option<SecurityType>

Source

pub fn get_effective_time(&self) -> Option<EffectiveTime>

Source

pub fn get_transact_time(&self) -> TransactTime

Source

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

Source

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

Source

pub fn get_stand_inst_db_type(&self) -> Option<StandInstDbType>

Source

pub fn get_stand_inst_db_name(&self) -> Option<StandInstDbName>

Source

pub fn get_stand_inst_db_id(&self) -> Option<StandInstDbID>

Source

pub fn get_settl_delivery_type(&self) -> Option<SettlDeliveryType>

Source

pub fn get_settl_depository_code(&self) -> Option<SettlDepositoryCode>

Source

pub fn get_settl_brkr_code(&self) -> Option<SettlBrkrCode>

Source

pub fn get_settl_inst_code(&self) -> Option<SettlInstCode>

Source

pub fn get_security_settl_agent_name(&self) -> Option<SecuritySettlAgentName>

Source

pub fn get_security_settl_agent_code(&self) -> Option<SecuritySettlAgentCode>

Source

pub fn get_security_settl_agent_acct_num( &self, ) -> Option<SecuritySettlAgentAcctNum>

Source

pub fn get_security_settl_agent_acct_name( &self, ) -> Option<SecuritySettlAgentAcctName>

Source

pub fn get_security_settl_agent_contact_name( &self, ) -> Option<SecuritySettlAgentContactName>

Source

pub fn get_security_settl_agent_contact_phone( &self, ) -> Option<SecuritySettlAgentContactPhone>

Source

pub fn get_cash_settl_agent_name(&self) -> Option<CashSettlAgentName>

Source

pub fn get_cash_settl_agent_code(&self) -> Option<CashSettlAgentCode>

Source

pub fn get_cash_settl_agent_acct_num(&self) -> Option<CashSettlAgentAcctNum>

Source

pub fn get_cash_settl_agent_acct_name(&self) -> Option<CashSettlAgentAcctName>

Source

pub fn get_cash_settl_agent_contact_name( &self, ) -> Option<CashSettlAgentContactName>

Source

pub fn get_cash_settl_agent_contact_phone( &self, ) -> Option<CashSettlAgentContactPhone>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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_stand_inst_db_type( &mut self, value: StandInstDbType, ) -> Result<&Self, QuickFixError>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl Clone for SettlementInstructions

Source§

fn clone(&self) -> SettlementInstructions

Returns a duplicate 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 SettlementInstructions

Source§

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

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

impl From<Message> for SettlementInstructions

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.
Source§

impl From<SettlementInstructions> for Message

Source§

fn from(input: SettlementInstructions) -> 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.