1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
* Proxycurl API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct JobListEntry {
/// The name of the company that posted this job.
#[serde(
rename = "company",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub company: Option<Option<String>>,
/// The LinkedIn Company Profile URL that posted this job.
#[serde(
rename = "company_url",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub company_url: Option<Option<String>>,
/// Job title of the posted job.
#[serde(
rename = "job_title",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub job_title: Option<Option<String>>,
/// Job Profile URL. You can fetch details about this job using this URL via the [Job Profile API Endpoint](https://nubela.co/proxycurl/docs#jobs-api-job-profile-endpoint).
#[serde(
rename = "job_url",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub job_url: Option<Option<String>>,
/// The date that this job was listed.
#[serde(
rename = "list_date",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub list_date: Option<Option<String>>,
/// The job location.
#[serde(
rename = "location",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub location: Option<Option<String>>,
}
impl JobListEntry {
pub fn new() -> JobListEntry {
JobListEntry {
company: None,
company_url: None,
job_title: None,
job_url: None,
list_date: None,
location: None,
}
}
}