proxycurl_linkedin_rs/models/
activity.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 Activity {
13    #[serde(
14        rename = "title",
15        default,
16        with = "::serde_with::rust::double_option",
17        skip_serializing_if = "Option::is_none"
18    )]
19    pub title: Option<Option<String>>,
20    #[serde(
21        rename = "link",
22        default,
23        with = "::serde_with::rust::double_option",
24        skip_serializing_if = "Option::is_none"
25    )]
26    pub link: Option<Option<String>>,
27    #[serde(
28        rename = "activity_status",
29        default,
30        with = "::serde_with::rust::double_option",
31        skip_serializing_if = "Option::is_none"
32    )]
33    pub activity_status: Option<Option<String>>,
34}
35
36impl Activity {
37    pub fn new() -> Activity {
38        Activity {
39            title: None,
40            link: None,
41            activity_status: None,
42        }
43    }
44}