proxycurl_linkedin_rs/models/
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 SearchResult {
13    ///          The LinkedIn Profile URL of the person         
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::Person>>,
21}
22
23impl SearchResult {
24    pub fn new() -> SearchResult {
25        SearchResult {
26            linkedin_profile_url: None,
27            profile: None,
28        }
29    }
30}