Skip to main content

binance_sdk/w3w_prediction/rest_api/models/
create_inbound_transfer_response.rs

1/*
2 * Prediction Trading REST API
3 *
4 * Place and manage prediction market orders, query positions, and transfer funds via the Prediction Trading 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::w3w_prediction::rest_api::models;
16use serde::{Deserialize, Serialize};
17
18#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
19pub struct CreateInboundTransferResponse {
20    #[serde(rename = "transferId", skip_serializing_if = "Option::is_none")]
21    pub transfer_id: Option<String>,
22    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
23    pub status: Option<String>,
24}
25
26impl CreateInboundTransferResponse {
27    #[must_use]
28    pub fn new() -> CreateInboundTransferResponse {
29        CreateInboundTransferResponse {
30            transfer_id: None,
31            status: None,
32        }
33    }
34}