proxycurl_linkedin_rs/models/
similar_profile.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 SimilarProfile {
13    #[serde(
14        rename = "name",
15        default,
16        with = "::serde_with::rust::double_option",
17        skip_serializing_if = "Option::is_none"
18    )]
19    pub name: 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 = "summary",
29        default,
30        with = "::serde_with::rust::double_option",
31        skip_serializing_if = "Option::is_none"
32    )]
33    pub summary: Option<Option<String>>,
34    #[serde(
35        rename = "location",
36        default,
37        with = "::serde_with::rust::double_option",
38        skip_serializing_if = "Option::is_none"
39    )]
40    pub location: Option<Option<String>>,
41}
42
43impl SimilarProfile {
44    pub fn new() -> SimilarProfile {
45        SimilarProfile {
46            name: None,
47            link: None,
48            summary: None,
49            location: None,
50        }
51    }
52}