Struct quickfix_msg40::IOI

source ·
pub struct IOI { /* private fields */ }

Implementations§

source§

impl IOI

source

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

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 IOI

source

pub fn try_new( io_iid: IOIid, ioi_trans_type: IOITransType, symbol: Symbol, side: Side, ioi_shares: IOIShares ) -> Result<Self, QuickFixError>

source§

impl IOI

source

pub fn get_io_iid(&self) -> IOIid

source

pub fn get_ioi_trans_type(&self) -> IOITransType

source

pub fn get_ioi_ref_id(&self) -> Option<IOIRefID>

source

pub fn get_symbol(&self) -> Symbol

source

pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>

source

pub fn get_security_id(&self) -> Option<SecurityID>

source

pub fn get_id_source(&self) -> Option<IDSource>

source

pub fn get_issuer(&self) -> Option<Issuer>

source

pub fn get_security_desc(&self) -> Option<SecurityDesc>

source

pub fn get_side(&self) -> Side

source

pub fn get_ioi_shares(&self) -> IOIShares

source

pub fn get_price(&self) -> Option<Price>

source

pub fn get_currency(&self) -> Option<Currency>

source

pub fn get_valid_until_time(&self) -> Option<ValidUntilTime>

source

pub fn get_ioi_qlty_ind(&self) -> Option<IOIQltyInd>

source

pub fn get_ioi_oth_svc(&self) -> Option<IOIOthSvc>

source

pub fn get_ioi_natural_flag(&self) -> Option<IOINaturalFlag>

source

pub fn get_ioi_qualifier(&self) -> Option<IOIQualifier>

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

pub fn remove_ioi_qualifier(&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 IOI

source§

fn clone(&self) -> IOI

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 IOI

source§

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

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

impl From<IOI> for Message

source§

fn from(input: IOI) -> Self

Converts to this type from the input type.
source§

impl From<Message> for IOI

source§

fn from(input: Message) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for IOI

§

impl !Send for IOI

§

impl !Sync for IOI

§

impl Unpin for IOI

§

impl UnwindSafe for IOI

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> 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,

§

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>,

§

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>,

§

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.