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::*;
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum BlockType {
Data_0,
Md_1,
Git_2,
}
pub struct BlockIdCombo {
pub blockHash: Option<String>,
pub chargedTo: UserOrTeamID,
pub blockType: BlockType,
}
pub struct ChallengeInfo {
pub now: i64,
pub challenge: Option<String>,
}