proxycurl_linkedin_rs/models/
test_score.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 TestScore {
13    ///                  Title of the course for which test score was derived from.             
14    #[serde(
15        rename = "name",
16        default,
17        with = "::serde_with::rust::double_option",
18        skip_serializing_if = "Option::is_none"
19    )]
20    pub name: Option<Option<String>>,
21    /// Test score
22    #[serde(
23        rename = "score",
24        default,
25        with = "::serde_with::rust::double_option",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub score: Option<Option<String>>,
29    #[serde(rename = "date_on", skip_serializing_if = "Option::is_none")]
30    pub date_on: Option<Box<crate::models::Date>>,
31    /// Description of the test score.
32    #[serde(
33        rename = "description",
34        default,
35        with = "::serde_with::rust::double_option",
36        skip_serializing_if = "Option::is_none"
37    )]
38    pub description: Option<Option<String>>,
39}
40
41impl TestScore {
42    pub fn new() -> TestScore {
43        TestScore {
44            name: None,
45            score: None,
46            date_on: None,
47            description: None,
48        }
49    }
50}