warframe_client/models/
suit_inner.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 SuitInner {
16    #[serde(rename = "itemId", skip_serializing_if = "Option::is_none")]
17    pub item_id: Option<String>,
18    #[serde(rename = "uniqueName", skip_serializing_if = "Option::is_none")]
19    pub unique_name: Option<String>,
20    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
21    pub name: Option<String>,
22    #[serde(rename = "item", skip_serializing_if = "Option::is_none")]
23    pub item: Option<models::Warframe>,
24    #[serde(rename = "configs", skip_serializing_if = "Option::is_none")]
25    pub configs: Option<Vec<models::ConfigsInner>>,
26}
27
28impl SuitInner {
29    pub fn new() -> SuitInner {
30        SuitInner {
31            item_id: None,
32            unique_name: None,
33            name: None,
34            item: None,
35            configs: None,
36        }
37    }
38}
39