Skip to main content

binance_sdk/convert/rest_api/models/
accept_quote_response.rs

1/*
2 * Convert REST API
3 *
4 * Request quotes and execute cryptocurrency conversions via the Convert REST API.
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 *
9 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10 * https://openapi-generator.tech
11 * Do not edit the class manually.
12 */
13
14#![allow(unused_imports)]
15use crate::convert::rest_api::models;
16use serde::{Deserialize, Serialize};
17
18#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
19pub struct AcceptQuoteResponse {
20    #[serde(rename = "orderId", skip_serializing_if = "Option::is_none")]
21    pub order_id: Option<String>,
22    #[serde(rename = "createTime", skip_serializing_if = "Option::is_none")]
23    pub create_time: Option<i64>,
24    /// Order processing status
25    #[serde(rename = "orderStatus", skip_serializing_if = "Option::is_none")]
26    pub order_status: Option<String>,
27}
28
29impl AcceptQuoteResponse {
30    #[must_use]
31    pub fn new() -> AcceptQuoteResponse {
32        AcceptQuoteResponse {
33            order_id: None,
34            create_time: None,
35            order_status: None,
36        }
37    }
38}