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
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20015 {
#[serde(rename = "symbol")]
symbol: Option<::models::Futures>
}
impl InlineResponse20015 {
pub fn new() -> InlineResponse20015 {
InlineResponse20015 {
symbol: None
}
}
pub fn set_symbol(&mut self, symbol: ::models::Futures) {
self.symbol = Some(symbol);
}
pub fn with_symbol(mut self, symbol: ::models::Futures) -> InlineResponse20015 {
self.symbol = Some(symbol);
self
}
pub fn symbol(&self) -> Option<&::models::Futures> {
self.symbol.as_ref()
}
pub fn reset_symbol(&mut self) {
self.symbol = None;
}
}