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
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ResponseData {
#[serde(rename = "attestationObject", skip_serializing_if = "Option::is_none")]
pub attestation_object: Option<String>,
#[serde(rename = "clientDataJSON", skip_serializing_if = "Option::is_none")]
pub client_data_json: Option<String>,
}
impl ResponseData {
pub fn new() -> ResponseData {
ResponseData {
attestation_object: None,
client_data_json: None,
}
}
}