/*
* Stocks Trading REST API
*
* REST APIs for Binance Stocks Trading. All endpoints under `/sapi/v1/equity/_*`.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#![allow(unused_imports)]
use crate::stocks::rest_api::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CancelEquityOrderResponse {
/// Echoes the requested order id.
#[serde(rename = "orderId", skip_serializing_if = "Option::is_none")]
pub order_id: Option<String>,
/// Acknowledgement code: `S` = cancel accepted by upstream, `F` = cancel failed. Not an order lifecycle status — use `/order/detail` for lifecycle poll.
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
}
impl CancelEquityOrderResponse {
#[must_use]
pub fn new() -> CancelEquityOrderResponse {
CancelEquityOrderResponse {
order_id: None,
status: None,
}
}
}