deriv_api_schema/
kyc_auth_status_one_of_sub0.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::identity::Identity; 
13use crate::address::Address; 
14use crate::risk_classification::RiskClassification; 
15
16// It's a struct
17/// Proof of Identity (POI) and Proof of Address (POA) authentication status details.
18#[derive(Debug, Clone, Serialize, Deserialize)]
19#[serde(rename_all = "snake_case")]
20pub struct KycAuthStatusOneOfSub0 {
21    /// POA authentication status details.\n
22    // Correct serde attribute construction - Use helper
23    
24    pub address: Address,
25    /// POI authentication status details.\n
26    // Correct serde attribute construction - Use helper
27    
28    pub identity: Identity,
29    /// Risk classification of the client.\n
30    // Correct serde attribute construction - Use helper
31    
32    pub risk_classification: RiskClassification,
33}
34