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
#![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::*;
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum FileType {
Unknown_0,
Directory_1,
File_2,
}
pub struct FileDescriptor {
pub name: Option<String>,
pub ty: FileType,
}
pub struct Process {
pub pid: Option<String>,
pub command: Option<String>,
pub fileDescriptors: Option<Vec<FileDescriptor>>,
}