tmdb_client/models/
person_credits.rs

1/*
2 * API
3 *
4 * ## Welcome  This is a place to put general notes and extra information, for internal use.  To get started designing/documenting this API, select a version on the left. # Title No Description
5 *
6 * The version of the OpenAPI document: 3
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Debug, Serialize, Deserialize, Clone, Default)]
12pub struct PersonCredits {
13    #[serde(rename = "cast", skip_serializing_if = "Option::is_none")]
14    pub cast: Option<Vec<crate::models::CastDetails>>,
15    #[serde(rename = "crew", skip_serializing_if = "Option::is_none")]
16    pub crew: Option<Vec<crate::models::CrewDetails>>,
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<i32>,
19}