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