Skip to main content

Instance

Struct Instance 

Source
pub struct Instance<'a>(/* private fields */);

Implementations§

Source§

impl<'a> Instance<'a>

Source

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

Source

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

Source

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

Source

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

Source

pub fn security_id_source( &self, ) -> Result<Option<SecurityIDSource<'a>>, InvalidValue>

Source

pub fn sec_alt_id_grp( &self, ) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

pub fn product(&self) -> Result<Option<Product>, InvalidValue>

Source

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

Source

pub fn security_type(&self) -> Result<Option<SecurityType<'a>>, InvalidValue>

Source

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

Source

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

Source

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

Source

pub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn cp_program(&self) -> Result<Option<CPProgram>, InvalidValue>

Source

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

Source

pub fn evnt_grp(&self) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

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

Source

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

Source

pub fn delivery_form(&self) -> Result<Option<DeliveryForm>, InvalidValue>

Source

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

Source

pub fn attrb_grp(&self) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

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

Source

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

Source

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

Source

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

Source

pub fn termination_type(&self) -> Result<Option<TerminationType>, InvalidValue>

Source

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

Source

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

Source

pub fn delivery_type(&self) -> Result<Option<DeliveryType>, InvalidValue>

Source

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

Source

pub fn und_instrmt_grp( &self, ) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

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

Source

pub fn stipulations(&self) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

pub fn instrmt_leg_sec_list_grp( &self, ) -> Result<Instances<'a, Instance<'a>>, InvalidValue>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn yield_type(&self) -> Result<Option<YieldType<'a>>, InvalidValue>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn expiration_cycle(&self) -> Result<Option<ExpirationCycle>, InvalidValue>

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl<'a> Clone for Instance<'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 Instance<'a>

Source§

impl<'a> Debug for Instance<'a>

Source§

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

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

impl<'a> From<Scope<'a>> for Instance<'a>

Source§

fn from(scope: Scope<'a>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a> Freeze for Instance<'a>

§

impl<'a> RefUnwindSafe for Instance<'a>

§

impl<'a> Send for Instance<'a>

§

impl<'a> Sync for Instance<'a>

§

impl<'a> Unpin for Instance<'a>

§

impl<'a> UnsafeUnpin for Instance<'a>

§

impl<'a> UnwindSafe for Instance<'a>

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.