deriv_api_schema/withdraw_one_of_sub0.rs
1
2// Generated automatically by schema_generator.rs - DO NOT EDIT.
3// Source: ./deriv-api-docs/config/v3/cashier/receive.json
4
5// Use direct crate names for imports within generated files
6use serde::{Deserialize, Serialize};
7
8
9
10
11// Import shared types from the *same* crate
12
13// It's a struct
14/// Result for withdraw operation.
15#[derive(Debug, Clone, Serialize, Deserialize)]
16#[serde(rename_all = "snake_case")]
17pub struct WithdrawOneOfSub0 {
18 /// The unique identifier for the transaction.\n
19 // Correct serde attribute construction - Use helper
20
21 pub id: String,
22 /// The status code of the withdrawal.\n
23 // Correct serde attribute construction - Use helper
24
25 pub status_code: String,
26 /// The status message of the withdrawal.\n
27 // Correct serde attribute construction - Use helper
28
29 pub status_message: String,
30}
31