[][src]Enum itchy::Body

pub enum Body {
    AddOrder(AddOrder),
    Breach(LevelBreached),
    BrokenTrade {
        match_number: u64,
    },
    CrossTrade(CrossTrade),
    DeleteOrder {
        reference: u64,
    },
    Imbalance(ImbalanceIndicator),
    IpoQuotingPeriod(IpoQuotingPeriod),
    LULDAuctionCollar {
        stock: ArrayString8,
        ref_price: Price4,
        upper_price: Price4,
        lower_price: Price4,
        extension: u32,
    },
    MwcbDeclineLevel {
        level1: Price8,
        level2: Price8,
        level3: Price8,
    },
    NonCrossTrade(NonCrossTrade),
    OrderCancelled {
        reference: u64,
        cancelled: u32,
    },
    OrderExecuted {
        reference: u64,
        executed: u32,
        match_number: u64,
    },
    OrderExecutedWithPrice {
        reference: u64,
        executed: u32,
        match_number: u64,
        printable: bool,
        price: Price4,
    },
    ParticipantPosition(MarketParticipantPosition),
    RegShoRestriction {
        stock: ArrayString8,
        action: RegShoAction,
    },
    ReplaceOrder(ReplaceOrder),
    StockDirectory(StockDirectory),
    SystemEvent {
        event: EventCode,
    },
    TradingAction {
        stock: ArrayString8,
        trading_state: TradingState,
        reason: ArrayString4,
    },
    RetailPriceImprovementIndicator(RetailPriceImprovementIndicator),
}

The message body. Refer to the protocol spec for interpretation.

Variants

AddOrder(AddOrder)
BrokenTrade

Fields of BrokenTrade

match_number: u64
CrossTrade(CrossTrade)
DeleteOrder

Fields of DeleteOrder

reference: u64
IpoQuotingPeriod(IpoQuotingPeriod)
LULDAuctionCollar

Fields of LULDAuctionCollar

stock: ArrayString8ref_price: Price4upper_price: Price4lower_price: Price4extension: u32
MwcbDeclineLevel

Fields of MwcbDeclineLevel

level1: Price8level2: Price8level3: Price8
NonCrossTrade(NonCrossTrade)
OrderCancelled

Fields of OrderCancelled

reference: u64cancelled: u32
OrderExecuted

Fields of OrderExecuted

reference: u64executed: u32match_number: u64
OrderExecutedWithPrice

Fields of OrderExecutedWithPrice

reference: u64executed: u32match_number: u64printable: boolprice: Price4
ParticipantPosition(MarketParticipantPosition)
RegShoRestriction

Fields of RegShoRestriction

stock: ArrayString8action: RegShoAction
ReplaceOrder(ReplaceOrder)
StockDirectory(StockDirectory)
SystemEvent

Fields of SystemEvent

event: EventCode
TradingAction

Fields of TradingAction

stock: ArrayString8trading_state: TradingStatereason: ArrayString4
RetailPriceImprovementIndicator(RetailPriceImprovementIndicator)

Trait Implementations

impl Clone for Body[src]

impl Debug for Body[src]

impl PartialEq<Body> for Body[src]

impl StructuralPartialEq for Body[src]

Auto Trait Implementations

impl RefUnwindSafe for Body

impl Send for Body

impl Sync for Body

impl Unpin for Body

impl UnwindSafe for Body

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.