warframestat_rs/models/
attack_falloff.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: living
7 * Contact: tobiah@protonmail.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct AttackFalloff {
16    #[serde(rename = "start", skip_serializing_if = "Option::is_none")]
17    pub start: Option<f32>,
18    #[serde(rename = "end", skip_serializing_if = "Option::is_none")]
19    pub end: Option<f32>,
20    #[serde(rename = "reduction", skip_serializing_if = "Option::is_none")]
21    pub reduction: Option<f32>,
22}
23
24impl AttackFalloff {
25    pub fn new() -> AttackFalloff {
26        AttackFalloff {
27            start: None,
28            end: None,
29            reduction: None,
30        }
31    }
32}
33
34