proxycurl_linkedin_rs/models/
exit.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 Exit {
13    /// LinkedIn Profile URL of the company that has exited
14    #[serde(
15        rename = "linkedin_profile_url",
16        default,
17        with = "::serde_with::rust::double_option",
18        skip_serializing_if = "Option::is_none"
19    )]
20    pub linkedin_profile_url: Option<Option<String>>,
21    /// Crunchbase Profile URL of the company that has exited
22    #[serde(
23        rename = "crunchbase_profile_url",
24        default,
25        with = "::serde_with::rust::double_option",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub crunchbase_profile_url: Option<Option<String>>,
29    /// Name of the company
30    #[serde(
31        rename = "name",
32        default,
33        with = "::serde_with::rust::double_option",
34        skip_serializing_if = "Option::is_none"
35    )]
36    pub name: Option<Option<String>>,
37}
38
39impl Exit {
40    pub fn new() -> Exit {
41        Exit {
42            linkedin_profile_url: None,
43            crunchbase_profile_url: None,
44            name: None,
45        }
46    }
47}