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
#![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::common::*;
pub type TeambotKeyGeneration = i64;
pub struct TeambotKeyMetadata {
pub kid: KID,
pub generation: TeambotKeyGeneration,
pub uid: UID,
pub pukGeneration: PerUserKeyGeneration,
}
pub struct TeambotKeyBoxed {
pub box_: Option<String>,
pub metadata: TeambotKeyMetadata,
}
pub struct TeambotKey {
pub seed: Bytes32,
pub metadata: TeambotKeyMetadata,
}