printnanny_api_client/models/
email_waitlist_request.rs

1/*
2 * printnanny-api-client
3 *
4 * Official API client library for printnanny.ai
5 *
6 * The version of the OpenAPI document: 0.135.1
7 * Contact: leigh@printnanny.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct EmailWaitlistRequest {
16    #[serde(rename = "email")]
17    pub email: String,
18    #[serde(rename = "interest", skip_serializing_if = "Option::is_none")]
19    pub interest: Option<crate::models::InterestEnum>,
20}
21
22impl EmailWaitlistRequest {
23    pub fn new(email: String) -> EmailWaitlistRequest {
24        EmailWaitlistRequest {
25            email,
26            interest: None,
27        }
28    }
29}
30
31