deriv_api_schema/
feature_flag.rs

1
2// Generated automatically by schema_generator.rs - DO NOT EDIT.
3// Source: ./deriv-api-docs/config/v3/set_settings/send.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/// [Optional] Enable or disable one or multiple features.
15#[derive(Debug, Clone, Serialize, Deserialize)]
16#[serde(rename_all = "snake_case")]
17pub struct FeatureFlag {
18    /// [Optional] Boolean value 1 or 0 indicating whether to enable/disable this feature\n
19    // Correct serde attribute construction - Use helper
20    #[serde(skip_serializing_if = "Option::is_none")] 
21    pub wallet: Option<String>,
22}
23