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 alloc_account(&self) -> Result<Option<&'a str>, InvalidValue>

The AllocAccount (79) field.

Source

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

The AllocPrice (366) field.

Source

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

The AllocShares (80) field.

Source

pub fn process_code(&self) -> Result<Option<ProcessCode<'a>>, InvalidValue>

The ProcessCode (81) field.

Source

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

The BrokerOfCredit (92) field.

Source

pub fn notify_broker_of_credit(&self) -> Result<Option<bool>, InvalidValue>

The NotifyBrokerOfCredit (208) field.

Source

pub fn alloc_handl_inst(&self) -> Result<Option<AllocHandlInst>, InvalidValue>

The AllocHandlInst (209) field.

Source

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

The AllocText (161) field.

Source

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

The EncodedAllocTextLen (360) field.

Source

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

The EncodedAllocText (361) field.

Source

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

The ExecBroker (76) field.

Source

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

The ClientID (109) field.

Source

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

The Commission (12) field.

Source

pub fn comm_type(&self) -> Result<Option<CommType<'a>>, InvalidValue>

The CommType (13) field.

Source

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

The AllocAvgPx (153) field.

Source

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

The AllocNetMoney (154) field.

Source

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

The SettlCurrAmt (119) field.

Source

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

The SettlCurrency (120) field.

Source

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

The SettlCurrFxRate (155) field.

Source

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

The SettlCurrFxRateCalc (156) field.

Source

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

The AccruedInterestAmt (159) field.

Source

pub fn settl_inst_mode(&self) -> Result<Option<SettlInstMode<'a>>, InvalidValue>

The SettlInstMode (160) field.

Source

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

The instances of the NoMiscFees (136) group.

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

§

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

§

impl<'a> Move 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.