proxycurl_linkedin_rs/models/
profile_picture.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 ProfilePicture {
13    ///              Temporary URL to the profile picture (valid for just 30 minutes).             See this [blog post](https://nubela.co/blog/why-is-the-api-returning-s3-links-for-profile-pictures-scraped-from-linkedin-profiles/) for more information.
14    #[serde(
15        rename = "tmp_profile_pic_url",
16        skip_serializing_if = "Option::is_none"
17    )]
18    pub tmp_profile_pic_url: Option<String>,
19}
20
21impl ProfilePicture {
22    pub fn new() -> ProfilePicture {
23        ProfilePicture {
24            tmp_profile_pic_url: None,
25        }
26    }
27}