mailslurp/models/
set_inbox_favourited_options.rs

1/*
2 * MailSlurp API
3 *
4 * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more.  ## Resources  - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5 *
6 * The version of the OpenAPI document: 6.5.2
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// SetInboxFavouritedOptions : Options for setting inbox favourite state
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SetInboxFavouritedOptions {
17    /// Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
18    #[serde(rename = "state", skip_serializing_if = "Option::is_none")]
19    pub state: Option<bool>,
20}
21
22impl SetInboxFavouritedOptions {
23    /// Options for setting inbox favourite state
24    pub fn new() -> SetInboxFavouritedOptions {
25        SetInboxFavouritedOptions {
26            state: None,
27        }
28    }
29}
30
31