warframe_client/models/
stats_pvp_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 StatsPvpInner {
16    #[serde(rename = "uniqueName", skip_serializing_if = "Option::is_none")]
17    pub unique_name: Option<String>,
18    #[serde(rename = "suitDeaths", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub suit_deaths: Option<Option<i32>>,
20    #[serde(rename = "suitKills", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
21    pub suit_kills: Option<Option<i32>>,
22    #[serde(rename = "weaponKills", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
23    pub weapon_kills: Option<Option<i32>>,
24}
25
26impl StatsPvpInner {
27    pub fn new() -> StatsPvpInner {
28        StatsPvpInner {
29            unique_name: None,
30            suit_deaths: None,
31            suit_kills: None,
32            weapon_kills: None,
33        }
34    }
35}
36