proxycurl_linkedin_rs/models/
disposable_email.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 DisposableEmail {
13    /// Returns a boolean value of the disposable nature of the given email address
14    #[serde(
15        rename = "is_disposable_email",
16        skip_serializing_if = "Option::is_none"
17    )]
18    pub is_disposable_email: Option<i32>,
19    /// Returns a boolean value of the free status of the given email address
20    #[serde(rename = "is_free_email", skip_serializing_if = "Option::is_none")]
21    pub is_free_email: Option<i32>,
22}
23
24impl DisposableEmail {
25    pub fn new() -> DisposableEmail {
26        DisposableEmail {
27            is_disposable_email: None,
28            is_free_email: None,
29        }
30    }
31}