warframestat_rs/models/
sol_node_sol_key.rs

1/*
2 * WarframeStat.us API
3 *
4 * Simple API for data from the game Warframe. [Parser Docs](https://wfcd.github.io/warframe-worldstate-parser/) [Items Types](https://github.com/WFCD/warframe-items/blob/master/index.d.ts) 
5 *
6 * The version of the OpenAPI document: living
7 * Contact: tobiah@protonmail.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct SolNodeSolKey {
16    #[serde(rename = "enemy")]
17    pub enemy: String,
18    #[serde(rename = "type")]
19    pub _type: String,
20    #[serde(rename = "value")]
21    pub value: String,
22}
23
24impl SolNodeSolKey {
25    pub fn new(enemy: String, _type: String, value: String) -> SolNodeSolKey {
26        SolNodeSolKey {
27            enemy,
28            _type,
29            value,
30        }
31    }
32}
33
34