windmill_api/models/
raw_app_embed_body.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct RawAppEmbedBody {
16 #[serde(rename = "external_embed_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
18 pub external_embed_url: Option<Option<String>>,
19 #[serde(rename = "project_slug")]
21 pub project_slug: String,
22}
23
24impl RawAppEmbedBody {
25 pub fn new(project_slug: String) -> RawAppEmbedBody {
26 RawAppEmbedBody {
27 external_embed_url: None,
28 project_slug,
29 }
30 }
31}
32