space_traders/models/
create_ship_system_scan_201_response.rs1use serde::{Deserialize, Serialize};
6
7#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
9pub struct CreateShipSystemScan201Response {
10 #[serde(rename = "data")]
11 pub data: crate::models::CreateShipSystemScan201ResponseData,
12}
13
14impl CreateShipSystemScan201Response {
15 #[allow(clippy::too_many_arguments)]
17 pub fn new(
18 data: crate::models::CreateShipSystemScan201ResponseData,
19 ) -> CreateShipSystemScan201Response {
20 CreateShipSystemScan201Response { data }
21 }
22}