warframe_client/models/
simaris.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 Simaris {
16    #[serde(rename = "target")]
17    pub target: String,
18    #[serde(rename = "isTargetActive")]
19    pub is_target_active: bool,
20    #[serde(rename = "asString")]
21    pub as_string: String,
22}
23
24impl Simaris {
25    pub fn new(target: String, is_target_active: bool, as_string: String) -> Simaris {
26        Simaris {
27            target,
28            is_target_active,
29            as_string,
30        }
31    }
32}
33