revolt_api/models/
authifier_error_one_of_13.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct AuthifierErrorOneOf13 {
16 #[serde(rename = "type")]
17 pub r#type: RHashType,
18}
19
20impl AuthifierErrorOneOf13 {
21 pub fn new(r#type: RHashType) -> AuthifierErrorOneOf13 {
22 AuthifierErrorOneOf13 {
23 r#type,
24 }
25 }
26}
27
28#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
30pub enum RHashType {
31 #[serde(rename = "Blacklisted")]
32 Blacklisted,
33}
34
35impl Default for RHashType {
36 fn default() -> RHashType {
37 Self::Blacklisted
38 }
39}
40