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
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ErrorAuthenticatorAssuranceLevelNotSatisfied {
#[serde(rename = "code", skip_serializing_if = "Option::is_none")]
pub code: Option<i64>,
#[serde(rename = "debug", skip_serializing_if = "Option::is_none")]
pub debug: Option<String>,
#[serde(rename = "details", skip_serializing_if = "Option::is_none")]
pub details: Option<::std::collections::HashMap<String, serde_json::Value>>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
#[serde(rename = "message")]
pub message: String,
#[serde(rename = "reason", skip_serializing_if = "Option::is_none")]
pub reason: Option<String>,
#[serde(rename = "redirect_browser_to", skip_serializing_if = "Option::is_none")]
pub redirect_browser_to: Option<String>,
#[serde(rename = "request", skip_serializing_if = "Option::is_none")]
pub request: Option<String>,
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
}
impl ErrorAuthenticatorAssuranceLevelNotSatisfied {
pub fn new(message: String) -> ErrorAuthenticatorAssuranceLevelNotSatisfied {
ErrorAuthenticatorAssuranceLevelNotSatisfied {
code: None,
debug: None,
details: None,
id: None,
message,
reason: None,
redirect_browser_to: None,
request: None,
status: None,
}
}
}