mailslurp/models/raw_email_json.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/// RawEmailJson : Content in raw format
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct RawEmailJson {
17 #[serde(rename = "content")]
18 pub content: String,
19}
20
21impl RawEmailJson {
22 /// Content in raw format
23 pub fn new(content: String) -> RawEmailJson {
24 RawEmailJson {
25 content,
26 }
27 }
28}
29
30