deriv_api_schema/
kyc_auth_status_one_of_sub1_value.rs

1
2// Generated automatically by schema_generator.rs - DO NOT EDIT.
3// Source: ./deriv-api-docs/config/v3/kyc_auth_status/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
12use crate::risk_classification::RiskClassification; 
13use crate::identity::Identity; 
14use crate::address::Address; 
15
16// It's a struct
17#[derive(Debug, Clone, Serialize, Deserialize)]
18#[serde(rename_all = "snake_case")]
19pub struct KycAuthStatusOneOfSub1Value {
20    /// POA authentication status details.\n
21    // Correct serde attribute construction - Use helper
22    
23    pub address: Address,
24    /// POI authentication status details.\n
25    // Correct serde attribute construction - Use helper
26    
27    pub identity: Identity,
28    /// Risk classification of the client.\n
29    // Correct serde attribute construction - Use helper
30    
31    pub risk_classification: RiskClassification,
32}
33