warframe_client/models/
sentient_outposts_mission.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 SentientOutpostsMission {
16    /// Localized node name
17    #[serde(rename = "node")]
18    pub node: String,
19    #[serde(rename = "type")]
20    pub r#type: models::MissionType,
21    #[serde(rename = "faction")]
22    pub faction: models::Faction,
23}
24
25impl SentientOutpostsMission {
26    pub fn new(node: String, r#type: models::MissionType, faction: models::Faction) -> SentientOutpostsMission {
27        SentientOutpostsMission {
28            node,
29            r#type,
30            faction,
31        }
32    }
33}
34