warframe_client/models/
sentient_outposts.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 SentientOutposts {
16    #[serde(rename = "id")]
17    pub id: String,
18    #[serde(rename = "node")]
19    pub node: f64,
20    /// A timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) representing a specific point in time. This format is commonly used in APIs to ensure consistent date and time representation. The timestamp is in UTC (Coordinated Universal Time) and does not include any timezone offset. It is used to represent events, deadlines, or any time-related information in a standardized way. Example: \"2023-10-01T12:00:00Z\" represents October 1, 2023, at 12:00 PM UTC. 
21    #[serde(rename = "activation")]
22    pub activation: String,
23    /// A timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) representing a specific point in time. This format is commonly used in APIs to ensure consistent date and time representation. The timestamp is in UTC (Coordinated Universal Time) and does not include any timezone offset. It is used to represent events, deadlines, or any time-related information in a standardized way. Example: \"2023-10-01T12:00:00Z\" represents October 1, 2023, at 12:00 PM UTC. 
24    #[serde(rename = "expiry")]
25    pub expiry: String,
26    #[serde(rename = "active")]
27    pub active: bool,
28    #[serde(rename = "mission")]
29    pub mission: Box<models::SentientOutpostsMission>,
30}
31
32impl SentientOutposts {
33    pub fn new(id: String, node: f64, activation: String, expiry: String, active: bool, mission: models::SentientOutpostsMission) -> SentientOutposts {
34        SentientOutposts {
35            id,
36            node,
37            activation,
38            expiry,
39            active,
40            mission: Box::new(mission),
41        }
42    }
43}
44