proxycurl_linkedin_rs/models/
student_list.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 StudentList {
13    ///          A list of student profiles (if enriched) and their associated profile URL.         
14    #[serde(rename = "students", skip_serializing_if = "Option::is_none")]
15    pub students: Option<Vec<crate::models::Student>>,
16    ///          The API URI that will lead to the next page of results.         
17    #[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}