proxycurl_linkedin_rs/models/
funding.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct Funding {
13 #[serde(
15 rename = "funding_type",
16 default,
17 with = "::serde_with::rust::double_option",
18 skip_serializing_if = "Option::is_none"
19 )]
20 pub funding_type: Option<Option<String>>,
21 #[serde(
23 rename = "money_raised",
24 default,
25 with = "::serde_with::rust::double_option",
26 skip_serializing_if = "Option::is_none"
27 )]
28 pub money_raised: Option<Option<i32>>,
29 #[serde(rename = "announced_date", skip_serializing_if = "Option::is_none")]
30 pub announced_date: Option<Box<crate::models::Date>>,
31 #[serde(
33 rename = "number_of_investor",
34 default,
35 with = "::serde_with::rust::double_option",
36 skip_serializing_if = "Option::is_none"
37 )]
38 pub number_of_investor: Option<Option<i32>>,
39 #[serde(
40 rename = "investor_list",
41 default,
42 with = "::serde_with::rust::double_option",
43 skip_serializing_if = "Option::is_none"
44 )]
45 pub investor_list: Option<Option<Vec<crate::models::Investor>>>,
46}
47
48impl Funding {
49 pub fn new() -> Funding {
50 Funding {
51 funding_type: None,
52 money_raised: None,
53 announced_date: None,
54 number_of_investor: None,
55 investor_list: None,
56 }
57 }
58}