Skip to main content

IOI

Struct IOI 

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

IOI is the fix43 IOI type, MsgType = 6.

Fields§

§message: Message

Implementations§

Source§

impl IOI

Source

pub fn new( io_iid: IOIidField, ioi_trans_type: IOITransTypeField, side: SideField, ioi_qty: IOIQtyField, ) -> Self

Creates a new IOI with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a IOI from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

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

Sets Benchmark, Tag 219.

Source

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

Gets Benchmark, Tag 219.

Source

pub fn has_benchmark(&self) -> bool

Returns true if Benchmark is present, Tag 219.

Source

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

Sets BenchmarkCurveCurrency, Tag 220.

Source

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

Gets BenchmarkCurveCurrency, Tag 220.

Source

pub fn has_benchmark_curve_currency(&self) -> bool

Returns true if BenchmarkCurveCurrency is present, Tag 220.

Source

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

Sets BenchmarkCurveName, Tag 221.

Source

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

Gets BenchmarkCurveName, Tag 221.

Source

pub fn has_benchmark_curve_name(&self) -> bool

Returns true if BenchmarkCurveName is present, Tag 221.

Source

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

Sets BenchmarkCurvePoint, Tag 222.

Source

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

Gets BenchmarkCurvePoint, Tag 222.

Source

pub fn has_benchmark_curve_point(&self) -> bool

Returns true if BenchmarkCurvePoint is present, Tag 222.

Source

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

Sets CFICode, Tag 461.

Source

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

Gets CFICode, Tag 461.

Source

pub fn has_cfi_code(&self) -> bool

Returns true if CFICode is present, Tag 461.

Source

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

Sets ContractMultiplier, Tag 231.

Source

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

Gets ContractMultiplier, Tag 231.

Source

pub fn has_contract_multiplier(&self) -> bool

Returns true if ContractMultiplier is present, Tag 231.

Source

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

Sets CountryOfIssue, Tag 470.

Source

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

Gets CountryOfIssue, Tag 470.

Source

pub fn has_country_of_issue(&self) -> bool

Returns true if CountryOfIssue is present, Tag 470.

Source

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

Sets CouponPaymentDate, Tag 224.

Source

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

Gets CouponPaymentDate, Tag 224.

Source

pub fn has_coupon_payment_date(&self) -> bool

Returns true if CouponPaymentDate is present, Tag 224.

Source

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

Sets CouponRate, Tag 223.

Source

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

Gets CouponRate, Tag 223.

Source

pub fn has_coupon_rate(&self) -> bool

Returns true if CouponRate is present, Tag 223.

Source

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

Sets CreditRating, Tag 255.

Source

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

Gets CreditRating, Tag 255.

Source

pub fn has_credit_rating(&self) -> bool

Returns true if CreditRating is present, Tag 255.

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_encoded_issuer(&mut self, v: String)

Sets EncodedIssuer, Tag 349.

Source

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

Gets EncodedIssuer, Tag 349.

Source

pub fn has_encoded_issuer(&self) -> bool

Returns true if EncodedIssuer is present, Tag 349.

Source

pub fn set_encoded_issuer_len(&mut self, v: isize)

Sets EncodedIssuerLen, Tag 348.

Source

pub fn get_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedIssuerLen, Tag 348.

Source

pub fn has_encoded_issuer_len(&self) -> bool

Returns true if EncodedIssuerLen is present, Tag 348.

Source

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

Sets EncodedSecurityDesc, Tag 351.

Source

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

Gets EncodedSecurityDesc, Tag 351.

Source

pub fn has_encoded_security_desc(&self) -> bool

Returns true if EncodedSecurityDesc is present, Tag 351.

Source

pub fn set_encoded_security_desc_len(&mut self, v: isize)

Sets EncodedSecurityDescLen, Tag 350.

Source

pub fn get_encoded_security_desc_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedSecurityDescLen, Tag 350.

Source

pub fn has_encoded_security_desc_len(&self) -> bool

Returns true if EncodedSecurityDescLen is present, Tag 350.

Source

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

Sets EncodedText, Tag 355.

Source

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

Gets EncodedText, Tag 355.

Source

pub fn has_encoded_text(&self) -> bool

Returns true if EncodedText is present, Tag 355.

Source

pub fn set_encoded_text_len(&mut self, v: isize)

Sets EncodedTextLen, Tag 354.

Source

pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedTextLen, Tag 354.

Source

pub fn has_encoded_text_len(&self) -> bool

Returns true if EncodedTextLen is present, Tag 354.

Source

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

Sets Factor, Tag 228.

Source

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

Gets Factor, Tag 228.

Source

pub fn has_factor(&self) -> bool

Returns true if Factor is present, Tag 228.

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_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_qty(&mut self, v: String)

Sets IOIQty, Tag 27.

Source

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

Gets IOIQty, Tag 27.

Source

pub fn has_ioi_qty(&self) -> bool

Returns true if IOIQty is present, Tag 27.

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_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_instr_registry(&mut self, v: String)

Sets InstrRegistry, Tag 543.

Source

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

Gets InstrRegistry, Tag 543.

Source

pub fn has_instr_registry(&self) -> bool

Returns true if InstrRegistry is present, Tag 543.

Source

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

Sets IssueDate, Tag 225.

Source

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

Gets IssueDate, Tag 225.

Source

pub fn has_issue_date(&self) -> bool

Returns true if IssueDate is present, Tag 225.

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_locale_of_issue(&mut self, v: String)

Sets LocaleOfIssue, Tag 472.

Source

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

Gets LocaleOfIssue, Tag 472.

Source

pub fn has_locale_of_issue(&self) -> bool

Returns true if LocaleOfIssue is present, Tag 472.

Source

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

Sets MaturityDate, Tag 541.

Source

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

Gets MaturityDate, Tag 541.

Source

pub fn has_maturity_date(&self) -> bool

Returns true if MaturityDate is present, Tag 541.

Source

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

Sets MaturityMonthYear, Tag 200.

Source

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

Gets MaturityMonthYear, Tag 200.

Source

pub fn has_maturity_month_year(&self) -> bool

Returns true if MaturityMonthYear is present, Tag 200.

Source

pub fn set_no_ioi_qualifiers(&mut self, v: isize)

Sets NoIOIQualifiers, Tag 199.

Source

pub fn get_no_ioi_qualifiers(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoIOIQualifiers, Tag 199.

Source

pub fn has_no_ioi_qualifiers(&self) -> bool

Returns true if NoIOIQualifiers is present, Tag 199.

Source

pub fn set_no_routing_i_ds(&mut self, v: isize)

Sets NoRoutingIDs, Tag 215.

Source

pub fn get_no_routing_i_ds(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoRoutingIDs, Tag 215.

Source

pub fn has_no_routing_i_ds(&self) -> bool

Returns true if NoRoutingIDs is present, Tag 215.

Source

pub fn set_no_security_alt_id(&mut self, v: isize)

Sets NoSecurityAltID, Tag 454.

Source

pub fn get_no_security_alt_id(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoSecurityAltID, Tag 454.

Source

pub fn has_no_security_alt_id(&self) -> bool

Returns true if NoSecurityAltID is present, Tag 454.

Source

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

Sets OptAttribute, Tag 206.

Source

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

Gets OptAttribute, Tag 206.

Source

pub fn has_opt_attribute(&self) -> bool

Returns true if OptAttribute is present, Tag 206.

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_price_type(&mut self, v: isize)

Sets PriceType, Tag 423.

Source

pub fn get_price_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PriceType, Tag 423.

Source

pub fn has_price_type(&self) -> bool

Returns true if PriceType is present, Tag 423.

Source

pub fn set_product(&mut self, v: isize)

Sets Product, Tag 460.

Source

pub fn get_product(&self) -> Result<isize, MessageRejectErrorEnum>

Gets Product, Tag 460.

Source

pub fn has_product(&self) -> bool

Returns true if Product is present, Tag 460.

Source

pub fn set_quantity_type(&mut self, v: isize)

Sets QuantityType, Tag 465.

Source

pub fn get_quantity_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets QuantityType, Tag 465.

Source

pub fn has_quantity_type(&self) -> bool

Returns true if QuantityType is present, Tag 465.

Source

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

Sets RedemptionDate, Tag 240.

Source

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

Gets RedemptionDate, Tag 240.

Source

pub fn has_redemption_date(&self) -> bool

Returns true if RedemptionDate is present, Tag 240.

Source

pub fn set_repo_collateral_security_type(&mut self, v: isize)

Sets RepoCollateralSecurityType, Tag 239.

Source

pub fn get_repo_collateral_security_type( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets RepoCollateralSecurityType, Tag 239.

Source

pub fn has_repo_collateral_security_type(&self) -> bool

Returns true if RepoCollateralSecurityType is present, Tag 239.

Source

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

Sets RepurchaseRate, Tag 227.

Source

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

Gets RepurchaseRate, Tag 227.

Source

pub fn has_repurchase_rate(&self) -> bool

Returns true if RepurchaseRate is present, Tag 227.

Source

pub fn set_repurchase_term(&mut self, v: isize)

Sets RepurchaseTerm, Tag 226.

Source

pub fn get_repurchase_term(&self) -> Result<isize, MessageRejectErrorEnum>

Gets RepurchaseTerm, Tag 226.

Source

pub fn has_repurchase_term(&self) -> bool

Returns true if RepurchaseTerm is present, Tag 226.

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_exchange(&mut self, v: String)

Sets SecurityExchange, Tag 207.

Source

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

Gets SecurityExchange, Tag 207.

Source

pub fn has_security_exchange(&self) -> bool

Returns true if SecurityExchange is present, Tag 207.

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_security_id_source(&mut self, v: String)

Sets SecurityIDSource, Tag 22.

Source

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

Gets SecurityIDSource, Tag 22.

Source

pub fn has_security_id_source(&self) -> bool

Returns true if SecurityIDSource is present, Tag 22.

Source

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

Sets SecurityType, Tag 167.

Source

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

Gets SecurityType, Tag 167.

Source

pub fn has_security_type(&self) -> bool

Returns true if SecurityType is present, Tag 167.

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_spread(&mut self, val: Decimal, scale: i32)

Sets Spread, Tag 218.

Source

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

Gets Spread, Tag 218.

Source

pub fn has_spread(&self) -> bool

Returns true if Spread is present, Tag 218.

Source

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

Sets StateOrProvinceOfIssue, Tag 471.

Source

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

Gets StateOrProvinceOfIssue, Tag 471.

Source

pub fn has_state_or_province_of_issue(&self) -> bool

Returns true if StateOrProvinceOfIssue is present, Tag 471.

Source

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

Sets StrikePrice, Tag 202.

Source

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

Gets StrikePrice, Tag 202.

Source

pub fn has_strike_price(&self) -> bool

Returns true if StrikePrice is present, Tag 202.

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_transact_time(&mut self, v: Timestamp)

Sets TransactTime, Tag 60.

Source

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

Gets TransactTime, Tag 60.

Source

pub fn has_transact_time(&self) -> bool

Returns true if TransactTime is present, Tag 60.

Sets URLLink, Tag 149.

Gets URLLink, Tag 149.

Returns true if URLLink is present, Tag 149.

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§

§

impl !Freeze for IOI

§

impl RefUnwindSafe for IOI

§

impl Send for IOI

§

impl Sync for IOI

§

impl Unpin for IOI

§

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