proxycurl_linkedin_rs/models/
c_search_result.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 CSearchResult {
13    ///          The LinkedIn Profile URL of the company         
14    #[serde(
15        rename = "linkedin_profile_url",
16        skip_serializing_if = "Option::is_none"
17    )]
18    pub linkedin_profile_url: Option<String>,
19    #[serde(rename = "profile", skip_serializing_if = "Option::is_none")]
20    pub profile: Option<Box<crate::models::LinkedinCompany>>,
21}
22
23impl CSearchResult {
24    pub fn new() -> CSearchResult {
25        CSearchResult {
26            linkedin_profile_url: None,
27            profile: None,
28        }
29    }
30}