space_traders/models/
create_ship_system_scan_201_response.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 CreateShipSystemScan201Response {
10    #[serde(rename = "data")]
11    pub data: crate::models::CreateShipSystemScan201ResponseData,
12}
13
14impl CreateShipSystemScan201Response {
15    /// Create value with optional fields set to `None`.
16    #[allow(clippy::too_many_arguments)]
17    pub fn new(
18        data: crate::models::CreateShipSystemScan201ResponseData,
19    ) -> CreateShipSystemScan201Response {
20        CreateShipSystemScan201Response { data }
21    }
22}