warframe_client/models/
conclave.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 Conclave {
16    #[serde(rename = "modes")]
17    pub modes: Box<models::ConclaveModes>,
18    #[serde(rename = "categories")]
19    pub categories: Box<models::ConclaveCategories>,
20}
21
22impl Conclave {
23    pub fn new(modes: models::ConclaveModes, categories: models::ConclaveCategories) -> Conclave {
24        Conclave {
25            modes: Box::new(modes),
26            categories: Box::new(categories),
27        }
28    }
29}
30