osdm_sys/models/
coach_deck_layout_collection_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
16pub struct CoachDeckLayoutCollectionResponse {
17 #[serde(rename = "problems", skip_serializing_if = "Option::is_none")]
18 pub problems: Option<Vec<models::Problem>>,
19 #[serde(rename = "coachDeckLayouts", skip_serializing_if = "Option::is_none")]
20 pub coach_deck_layouts: Option<Vec<models::CoachDeckLayout>>,
21 #[serde(rename = "_links", skip_serializing_if = "Option::is_none")]
23 pub _links: Option<Vec<models::Link>>,
24}
25
26impl CoachDeckLayoutCollectionResponse {
27 pub fn new() -> CoachDeckLayoutCollectionResponse {
28 CoachDeckLayoutCollectionResponse {
29 problems: None,
30 coach_deck_layouts: None,
31 _links: None,
32 }
33 }
34}
35