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