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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#![allow(dead_code)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(unused_imports)]
use serde::{Serialize, Deserialize};
use serde_repr::{Deserialize_repr, Serialize_repr};use super::*;
use super::identify3_common::*;
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum Identify3RowState {
Checking_1,
Valid_2,
Error_3,
Warning_4,
Revoked_5,
}
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum Identify3RowColor {
Blue_1,
Red_2,
Black_3,
Green_4,
Gray_5,
Yellow_6,
Orange_7,
}
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum Identify3ResultType {
Ok_0,
Broken_1,
Needs_upgrade_2,
Canceled_3,
}
pub struct Identify3RowMeta {
pub color: Identify3RowColor,
pub label: Option<String>,
}
pub struct Identify3Row {
pub guiID: Identify3GUIID,
pub key: Option<String>,
pub value: Option<String>,
pub priority: i32,
pub siteURL: Option<String>,
pub siteIcon: Option<Vec<SizedImage>>,
pub siteIconFull: Option<Vec<SizedImage>>,
pub proofURL: Option<String>,
pub sigID: SigID,
pub ctime: Time,
pub state: Identify3RowState,
pub metas: Option<Vec<Identify3RowMeta>>,
pub color: Identify3RowColor,
pub kid: Option<KID>,
}