proxycurl_linkedin_rs/models/
employee.rs

1/*
2 * Proxycurl API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct Employee {
13    ///          LinkedIn Profile URL of the employee.         
14    #[serde(rename = "profile_url", skip_serializing_if = "Option::is_none")]
15    pub profile_url: Option<String>,
16    #[serde(rename = "profile", skip_serializing_if = "Option::is_none")]
17    pub profile: Option<Box<crate::models::Person>>,
18}
19
20impl Employee {
21    pub fn new() -> Employee {
22        Employee {
23            profile_url: None,
24            profile: None,
25        }
26    }
27}