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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/// mime types for requests and responses
pub mod responses {
use hyper::mime::*;
// The macro is called per-operation to beat the recursion limit
/// Create Mime objects for the response content types for I2cBusApi
lazy_static! {
pub static ref I2C_BUS_API_OK: Mime = "text/plain".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusApi
lazy_static! {
pub static ref I2C_BUS_API_FILE_NOT_FOUND: Mime = "text/plain".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusList
lazy_static! {
pub static ref I2C_BUS_LIST_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadByte
lazy_static! {
pub static ref I2C_BUS_READ_BYTE_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadByte
lazy_static! {
pub static ref I2C_BUS_READ_BYTE_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadByte
lazy_static! {
pub static ref I2C_BUS_READ_BYTE_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadBytes
lazy_static! {
pub static ref I2C_BUS_READ_BYTES_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadBytes
lazy_static! {
pub static ref I2C_BUS_READ_BYTES_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadBytes
lazy_static! {
pub static ref I2C_BUS_READ_BYTES_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadReg
lazy_static! {
pub static ref I2C_BUS_READ_REG_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadReg
lazy_static! {
pub static ref I2C_BUS_READ_REG_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusReadReg
lazy_static! {
pub static ref I2C_BUS_READ_REG_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByte
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByte
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByte
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByteReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_REG_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByteReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_REG_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteByteReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTE_REG_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytes
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytes
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytes
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytesReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_REG_OK: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytesReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_REG_BAD_REQUEST: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the response content types for I2cBusWriteBytesReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_REG_TRANSACTION_FAILED: Mime = "application/json".parse().unwrap();
}
}
pub mod requests {
use hyper::mime::*;
/// Create Mime objects for the request content types for I2cBusWriteBytes
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES: Mime = "application/json".parse().unwrap();
}
/// Create Mime objects for the request content types for I2cBusWriteBytesReg
lazy_static! {
pub static ref I2C_BUS_WRITE_BYTES_REG: Mime = "application/json".parse().unwrap();
}
}