space_traders/models/
system_faction.rs

1//! Generated by: <https://openapi-generator.tech>
2//!
3//! Version of specification: `2.0.0`
4
5use serde::{Deserialize, Serialize};
6
7///
8#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
9pub struct SystemFaction {
10    #[serde(rename = "symbol")]
11    pub symbol: crate::models::FactionSymbols,
12}
13
14impl SystemFaction {
15    /// Create value with optional fields set to `None`.
16    #[allow(clippy::too_many_arguments)]
17    pub fn new(symbol: crate::models::FactionSymbols) -> SystemFaction {
18        SystemFaction { symbol }
19    }
20}