proxycurl-linkedin-rs 0.1.0

A Rust client for the Proxycurl LinkedIn API
Documentation
/*
 * Proxycurl API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Date {
    #[serde(
        rename = "day",
        default,
        with = "::serde_with::rust::double_option",
        skip_serializing_if = "Option::is_none"
    )]
    pub day: Option<Option<i32>>,
    #[serde(
        rename = "month",
        default,
        with = "::serde_with::rust::double_option",
        skip_serializing_if = "Option::is_none"
    )]
    pub month: Option<Option<i32>>,
    #[serde(rename = "year", skip_serializing_if = "Option::is_none")]
    pub year: Option<i32>,
}

impl Date {
    pub fn new() -> Date {
        Date {
            day: None,
            month: None,
            year: None,
        }
    }
}