proxycurl_linkedin_rs/models/
student_list.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct StudentList {
13 #[serde(rename = "students", skip_serializing_if = "Option::is_none")]
15 pub students: Option<Vec<crate::models::Student>>,
16 #[serde(
18 rename = "next_page",
19 default,
20 with = "::serde_with::rust::double_option",
21 skip_serializing_if = "Option::is_none"
22 )]
23 pub next_page: Option<Option<String>>,
24}
25
26impl StudentList {
27 pub fn new() -> StudentList {
28 StudentList {
29 students: None,
30 next_page: None,
31 }
32 }
33}