Skip to main content

OrderResponseCancel

Type Alias OrderResponseCancel 

Source
pub type OrderResponseCancel<ExchangeKey = ExchangeIndex, AssetKey = AssetIndex, InstrumentKey = InstrumentIndex> = OrderEvent<Result<Cancelled, OrderError<AssetKey, InstrumentKey>>, ExchangeKey, InstrumentKey>;

Aliased Type§

pub struct OrderResponseCancel<ExchangeKey = ExchangeIndex, AssetKey = AssetIndex, InstrumentKey = InstrumentIndex> {
    pub key: OrderKey<ExchangeKey, InstrumentKey>,
    pub state: Result<Cancelled, OrderError<AssetKey, InstrumentKey>>,
}

Fields§

§key: OrderKey<ExchangeKey, InstrumentKey>§state: Result<Cancelled, OrderError<AssetKey, InstrumentKey>>