Skip to main content

CancelOrderResponse

Type Alias CancelOrderResponse 

Source
pub type CancelOrderResponse = OperationResponse<CancelOrderResult>;
Expand description

Response returned by cancel-order and batch-cancel-orders.

Aliased Type§

pub struct CancelOrderResponse {
    pub id: String,
    pub op: String,
    pub code: String,
    pub msg: String,
    pub data: Vec<CancelOrderResult>,
    pub in_time: NumberString,
    pub out_time: NumberString,
    pub extra: BTreeMap<String, Value>,
}

Fields§

§id: String

Client request ID.

§op: String

Operation name, e.g. order or sprd-order.

§code: String

Top-level OKX response code.

§msg: String

Top-level OKX response message.

§data: Vec<CancelOrderResult>

Per-request result rows.

§in_time: NumberString

Gateway receive timestamp in microseconds.

§out_time: NumberString

Gateway send timestamp in microseconds.

§extra: BTreeMap<String, Value>

Fields introduced by OKX after this crate version.