proxycurl_linkedin_rs/models/
person_group.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 PersonGroup {
13    /// The URL to the profile picture of this LinkedIn Group
14    #[serde(
15        rename = "profile_pic_url",
16        default,
17        with = "::serde_with::rust::double_option",
18        skip_serializing_if = "Option::is_none"
19    )]
20    pub profile_pic_url: Option<Option<String>>,
21    /// Name of LinkedIn group for which this user is in
22    #[serde(
23        rename = "name",
24        default,
25        with = "::serde_with::rust::double_option",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub name: Option<Option<String>>,
29    /// URL to the LinkedIn Group
30    #[serde(
31        rename = "url",
32        default,
33        with = "::serde_with::rust::double_option",
34        skip_serializing_if = "Option::is_none"
35    )]
36    pub url: Option<Option<String>>,
37}
38
39impl PersonGroup {
40    pub fn new() -> PersonGroup {
41        PersonGroup {
42            profile_pic_url: None,
43            name: None,
44            url: None,
45        }
46    }
47}