warframe_client/models/
event_all_of_interim_steps.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 EventAllOfInterimSteps {
16    /// Score to each to achieve this step
17    #[serde(rename = "goal", skip_serializing_if = "Option::is_none")]
18    pub goal: Option<f64>,
19    #[serde(rename = "reward", skip_serializing_if = "Option::is_none")]
20    pub reward: Option<Box<models::Reward>>,
21    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
22    pub message: Option<Box<models::EventAllOfMessage>>,
23    /// Suspected to be the number of persons who have completed this step.
24    #[serde(rename = "winnerCount", skip_serializing_if = "Option::is_none")]
25    pub winner_count: Option<f64>,
26}
27
28impl EventAllOfInterimSteps {
29    pub fn new() -> EventAllOfInterimSteps {
30        EventAllOfInterimSteps {
31            goal: None,
32            reward: None,
33            message: None,
34            winner_count: None,
35        }
36    }
37}
38