Skip to main content

IndicationofInterest

Struct IndicationofInterest 

Source
pub struct IndicationofInterest {
    pub message: Message,
}
Expand description

IndicationofInterest is the fix40 IndicationofInterest type, MsgType = 6.

Fields§

§message: Message

Implementations§

Source§

impl IndicationofInterest

Source

pub fn new( io_iid: IOIidField, ioi_trans_type: IOITransTypeField, symbol: SymbolField, side: SideField, ioi_shares: IOISharesField, ) -> Self

Creates a new IndicationofInterest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a IndicationofInterest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_currency(&mut self, v: String)

Sets Currency, Tag 15.

Source

pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets Currency, Tag 15.

Source

pub fn has_currency(&self) -> bool

Returns true if Currency is present, Tag 15.

Source

pub fn set_id_source(&mut self, v: String)

Sets IDSource, Tag 22.

Source

pub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>

Gets IDSource, Tag 22.

Source

pub fn has_id_source(&self) -> bool

Returns true if IDSource is present, Tag 22.

Source

pub fn set_ioi_natural_flag(&mut self, v: bool)

Sets IOINaturalFlag, Tag 130.

Source

pub fn get_ioi_natural_flag(&self) -> Result<bool, MessageRejectErrorEnum>

Gets IOINaturalFlag, Tag 130.

Source

pub fn has_ioi_natural_flag(&self) -> bool

Returns true if IOINaturalFlag is present, Tag 130.

Source

pub fn set_ioi_oth_svc(&mut self, v: String)

Sets IOIOthSvc, Tag 24.

Source

pub fn get_ioi_oth_svc(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIOthSvc, Tag 24.

Source

pub fn has_ioi_oth_svc(&self) -> bool

Returns true if IOIOthSvc is present, Tag 24.

Source

pub fn set_ioi_qlty_ind(&mut self, v: String)

Sets IOIQltyInd, Tag 25.

Source

pub fn get_ioi_qlty_ind(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIQltyInd, Tag 25.

Source

pub fn has_ioi_qlty_ind(&self) -> bool

Returns true if IOIQltyInd is present, Tag 25.

Source

pub fn set_ioi_qualifier(&mut self, v: String)

Sets IOIQualifier, Tag 104.

Source

pub fn get_ioi_qualifier(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIQualifier, Tag 104.

Source

pub fn has_ioi_qualifier(&self) -> bool

Returns true if IOIQualifier is present, Tag 104.

Source

pub fn set_ioi_ref_id(&mut self, v: String)

Sets IOIRefID, Tag 26.

Source

pub fn get_ioi_ref_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIRefID, Tag 26.

Source

pub fn has_ioi_ref_id(&self) -> bool

Returns true if IOIRefID is present, Tag 26.

Source

pub fn set_ioi_shares(&mut self, v: String)

Sets IOIShares, Tag 27.

Source

pub fn get_ioi_shares(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIShares, Tag 27.

Source

pub fn has_ioi_shares(&self) -> bool

Returns true if IOIShares is present, Tag 27.

Source

pub fn set_ioi_trans_type(&mut self, v: String)

Sets IOITransType, Tag 28.

Source

pub fn get_ioi_trans_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOITransType, Tag 28.

Source

pub fn has_ioi_trans_type(&self) -> bool

Returns true if IOITransType is present, Tag 28.

Source

pub fn set_io_iid(&mut self, v: String)

Sets IOIid, Tag 23.

Source

pub fn get_io_iid(&self) -> Result<String, MessageRejectErrorEnum>

Gets IOIid, Tag 23.

Source

pub fn has_io_iid(&self) -> bool

Returns true if IOIid is present, Tag 23.

Source

pub fn set_issuer(&mut self, v: String)

Sets Issuer, Tag 106.

Source

pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets Issuer, Tag 106.

Source

pub fn has_issuer(&self) -> bool

Returns true if Issuer is present, Tag 106.

Source

pub fn set_price(&mut self, val: Decimal, scale: i32)

Sets Price, Tag 44.

Source

pub fn get_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets Price, Tag 44.

Source

pub fn has_price(&self) -> bool

Returns true if Price is present, Tag 44.

Source

pub fn set_security_desc(&mut self, v: String)

Sets SecurityDesc, Tag 107.

Source

pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityDesc, Tag 107.

Source

pub fn has_security_desc(&self) -> bool

Returns true if SecurityDesc is present, Tag 107.

Source

pub fn set_security_id(&mut self, v: String)

Sets SecurityID, Tag 48.

Source

pub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityID, Tag 48.

Source

pub fn has_security_id(&self) -> bool

Returns true if SecurityID is present, Tag 48.

Source

pub fn set_side(&mut self, v: String)

Sets Side, Tag 54.

Source

pub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>

Gets Side, Tag 54.

Source

pub fn has_side(&self) -> bool

Returns true if Side is present, Tag 54.

Source

pub fn set_symbol(&mut self, v: String)

Sets Symbol, Tag 55.

Source

pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>

Gets Symbol, Tag 55.

Source

pub fn has_symbol(&self) -> bool

Returns true if Symbol is present, Tag 55.

Source

pub fn set_symbol_sfx(&mut self, v: String)

Sets SymbolSfx, Tag 65.

Source

pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>

Gets SymbolSfx, Tag 65.

Source

pub fn has_symbol_sfx(&self) -> bool

Returns true if SymbolSfx is present, Tag 65.

Source

pub fn set_text(&mut self, v: String)

Sets Text, Tag 58.

Source

pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>

Gets Text, Tag 58.

Source

pub fn has_text(&self) -> bool

Returns true if Text is present, Tag 58.

Source

pub fn set_valid_until_time(&mut self, v: Timestamp)

Sets ValidUntilTime, Tag 62.

Source

pub fn get_valid_until_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>

Gets ValidUntilTime, Tag 62.

Source

pub fn has_valid_until_time(&self) -> bool

Returns true if ValidUntilTime is present, Tag 62.

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