1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Fireblocks API
//
// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
//
// The version of the OpenAPI document: 1.8.0
// Contact: developers@fireblocks.com
// Generated by: https://openapi-generator.tech
use {
crate::models,
serde::{Deserialize, Serialize},
};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TravelRuleValidateNaturalPerson {
/// An array of structured name identifiers for the natural person,
/// referencing the TravelRuleNaturalPersonNameIdentifier schema.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<Vec<models::TravelRuleValidateNaturalPersonNameIdentifier>>,
/// An array of geographic addresses associated with the natural person,
/// referencing the TravelRuleGeographicAddress schema.
#[serde(rename = "geographicAddress", skip_serializing_if = "Option::is_none")]
pub geographic_address: Option<Vec<models::TravelRuleValidateGeographicAddress>>,
#[serde(
rename = "nationalIdentification",
skip_serializing_if = "Option::is_none"
)]
pub national_identification: Option<models::TravelRuleValidateNationalIdentification>,
/// The date and place of birth of the natural person, referencing the
/// TravelRuleDateAndPlaceOfBirth schema.
#[serde(
rename = "dateAndPlaceOfBirth",
skip_serializing_if = "Option::is_none"
)]
pub date_and_place_of_birth: Option<models::TravelRuleValidateDateAndPlaceOfBirth>,
/// A unique identifier for the customer within the organization's context.
#[serde(
rename = "customerIdentification",
skip_serializing_if = "Option::is_none"
)]
pub customer_identification: Option<String>,
/// The ISO-3166 Alpha-2 country code of the natural person's residence.
#[serde(rename = "countryOfResidence", skip_serializing_if = "Option::is_none")]
pub country_of_residence: Option<String>,
/// A distinct identifier that uniquely identifies the customer within the
/// organization.
#[serde(rename = "customerNumber", skip_serializing_if = "Option::is_none")]
pub customer_number: Option<String>,
}
impl TravelRuleValidateNaturalPerson {
pub fn new() -> TravelRuleValidateNaturalPerson {
TravelRuleValidateNaturalPerson {
name: None,
geographic_address: None,
national_identification: None,
date_and_place_of_birth: None,
customer_identification: None,
country_of_residence: None,
customer_number: None,
}
}
}