Skip to main content

UnderlyingInstrument

Struct UnderlyingInstrument 

Source
pub struct UnderlyingInstrument<'a>(/* private fields */);
Expand description

The fields of the UnderlyingInstrument component.

Implementations§

Source§

impl<'a> UnderlyingInstrument<'a>

Source

pub fn raw(&self) -> Scope<'a>

Source

pub fn underlying_symbol(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSymbol (311) field.

Source

pub fn underlying_symbol_sfx(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSymbolSfx (312) field.

Source

pub fn underlying_security_id(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecurityID (309) field.

Source

pub fn underlying_security_id_source( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecurityIDSource (305) field.

Source

pub fn underlying_security_alt_id( &self, ) -> Result<Instances<'a, UndSecAltIDGrp<'a>>, InvalidValue>

The instances of the NoUnderlyingSecurityAltID (457) group.

Source

pub fn underlying_product(&self) -> Result<Option<i64>, InvalidValue>

The UnderlyingProduct (462) field.

Source

pub fn underlying_cfi_code(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCFICode (463) field.

Source

pub fn underlying_security_type(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecurityType (310) field.

Source

pub fn underlying_security_sub_type( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecuritySubType (763) field.

Source

pub fn underlying_maturity_month_year( &self, ) -> Result<Option<MonthYear>, InvalidValue>

The UnderlyingMaturityMonthYear (313) field.

Source

pub fn underlying_maturity_date(&self) -> Result<Option<Date>, InvalidValue>

The UnderlyingMaturityDate (542) field.

Source

pub fn underlying_put_or_call(&self) -> Result<Option<i64>, InvalidValue>

The UnderlyingPutOrCall (315) field.

Source

pub fn underlying_coupon_payment_date( &self, ) -> Result<Option<Date>, InvalidValue>

The UnderlyingCouponPaymentDate (241) field.

Source

pub fn underlying_issue_date(&self) -> Result<Option<Date>, InvalidValue>

The UnderlyingIssueDate (242) field.

Source

pub fn underlying_repo_collateral_security_type( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingRepoCollateralSecurityType (243) field.

Source

pub fn underlying_repurchase_term(&self) -> Result<Option<i64>, InvalidValue>

The UnderlyingRepurchaseTerm (244) field.

Source

pub fn underlying_repurchase_rate( &self, ) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingRepurchaseRate (245) field.

Source

pub fn underlying_factor(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingFactor (246) field.

Source

pub fn underlying_credit_rating(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCreditRating (256) field.

Source

pub fn underlying_instr_registry(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingInstrRegistry (595) field.

Source

pub fn underlying_country_of_issue( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCountryOfIssue (592) field.

Source

pub fn underlying_state_or_province_of_issue( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingStateOrProvinceOfIssue (593) field.

Source

pub fn underlying_locale_of_issue( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingLocaleOfIssue (594) field.

Source

pub fn underlying_redemption_date(&self) -> Result<Option<Date>, InvalidValue>

The UnderlyingRedemptionDate (247) field.

Source

pub fn underlying_strike_price(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingStrikePrice (316) field.

Source

pub fn underlying_strike_currency( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingStrikeCurrency (941) field.

Source

pub fn underlying_opt_attribute(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingOptAttribute (317) field.

Source

pub fn underlying_contract_multiplier( &self, ) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingContractMultiplier (436) field.

Source

pub fn underlying_coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingCouponRate (435) field.

Source

pub fn underlying_security_exchange( &self, ) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecurityExchange (308) field.

Source

pub fn underlying_issuer(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingIssuer (306) field.

Source

pub fn encoded_underlying_issuer_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedUnderlyingIssuerLen (362) field.

Source

pub fn encoded_underlying_issuer(&self) -> Option<&'a [u8]>

The EncodedUnderlyingIssuer (363) field.

Source

pub fn underlying_security_desc(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingSecurityDesc (307) field.

Source

pub fn encoded_underlying_security_desc_len( &self, ) -> Result<Option<i64>, InvalidValue>

The EncodedUnderlyingSecurityDescLen (364) field.

Source

pub fn encoded_underlying_security_desc(&self) -> Option<&'a [u8]>

The EncodedUnderlyingSecurityDesc (365) field.

Source

pub fn underlying_cp_program(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCPProgram (877) field.

Source

pub fn underlying_cp_reg_type(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCPRegType (878) field.

Source

pub fn underlying_currency(&self) -> Result<Option<&'a str>, InvalidValue>

The UnderlyingCurrency (318) field.

Source

pub fn underlying_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingQty (879) field.

Source

pub fn underlying_px(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingPx (810) field.

Source

pub fn underlying_dirty_price(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingDirtyPrice (882) field.

Source

pub fn underlying_end_price(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingEndPrice (883) field.

Source

pub fn underlying_start_value(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingStartValue (884) field.

Source

pub fn underlying_current_value(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingCurrentValue (885) field.

Source

pub fn underlying_end_value(&self) -> Result<Option<Decimal>, InvalidValue>

The UnderlyingEndValue (886) field.

Source

pub fn underlying_stips( &self, ) -> Result<Instances<'a, UnderlyingStipulations<'a>>, InvalidValue>

The instances of the NoUnderlyingStips (887) group.

Trait Implementations§

Source§

impl<'a> Clone for UnderlyingInstrument<'a>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'a> Copy for UnderlyingInstrument<'a>

Source§

impl Debug for UnderlyingInstrument<'_>

Source§

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

Formats the value using the given formatter. Read more

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 = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.