[][src]Enum xtp::XTPBusinessType

#[repr(u32)]
pub enum XTPBusinessType {
    Cash,
    Ipos,
    Repo,
    ETF,
    Margin,
    Designation,
    Allotment,
    StructuredFundPurchaseRedemption,
    StructuredFundSplitMerge,
    MoneyFund,
    Option,
    Execute,
    Freeze,
    Unknown,
}

证券业务类型

Variants

Cash

普通股票业务(股票买卖,ETF买卖等)

Ipos

新股申购业务(对应的price type需选择限价类型)

Repo

回购业务 ( 对应的price type填为限价,side填为卖 )

ETF

ETF申赎业务

Margin

融资融券业务(暂未支持)

Designation

转托管(未支持)

Allotment

配股业务(对应的price type需选择限价类型,side填为买)

StructuredFundPurchaseRedemption

分级基金申赎业务

StructuredFundSplitMerge

分级基金拆分合并业务

MoneyFund

货币基金业务(暂未支持)

Option

期权业务

Execute

行权

Freeze

锁定解锁,暂不支持

Unknown

未知类型

Trait Implementations

impl Clone for XTPBusinessType[src]

impl Copy for XTPBusinessType[src]

impl Debug for XTPBusinessType[src]

impl Eq for XTPBusinessType[src]

impl Hash for XTPBusinessType[src]

impl PartialEq<XTPBusinessType> for XTPBusinessType[src]

impl StructuralEq for XTPBusinessType[src]

impl StructuralPartialEq for XTPBusinessType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.