warframe_client/models/
construction.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: 2.0.8
7 * Contact: tobiah@protonmail.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Construction {
16    #[serde(rename = "id")]
17    pub id: String,
18    #[serde(rename = "fomorianProgress")]
19    pub fomorian_progress: String,
20    #[serde(rename = "razorbackProgress")]
21    pub razorback_progress: String,
22    #[serde(rename = "unknownProgress")]
23    pub unknown_progress: String,
24}
25
26impl Construction {
27    pub fn new(id: String, fomorian_progress: String, razorback_progress: String, unknown_progress: String) -> Construction {
28        Construction {
29            id,
30            fomorian_progress,
31            razorback_progress,
32            unknown_progress,
33        }
34    }
35}
36