warframe_client/models/
loudout.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 Loudout {
16    #[serde(rename = "weaponSkins", skip_serializing_if = "Option::is_none")]
17    pub weapon_skins: Option<Vec<models::ConfigsInnerSkinsInner>>,
18    #[serde(rename = "suits", skip_serializing_if = "Option::is_none")]
19    pub suits: Option<Vec<models::SuitInner>>,
20    #[serde(rename = "secondary", skip_serializing_if = "Option::is_none")]
21    pub secondary: Option<Vec<models::LoudoutSecondaryInner>>,
22    #[serde(rename = "primary", skip_serializing_if = "Option::is_none")]
23    pub primary: Option<Vec<models::LoudoutSecondaryInner>>,
24    #[serde(rename = "melee", skip_serializing_if = "Option::is_none")]
25    pub melee: Option<Vec<models::LoudoutMeleeInner>>,
26    #[serde(rename = "xpInfo", skip_serializing_if = "Option::is_none")]
27    pub xp_info: Option<Vec<models::LoudoutXpInfoInner>>,
28}
29
30impl Loudout {
31    pub fn new() -> Loudout {
32        Loudout {
33            weapon_skins: None,
34            suits: None,
35            secondary: None,
36            primary: None,
37            melee: None,
38            xp_info: None,
39        }
40    }
41}
42