use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] pub struct CreationEntryConfigResponse { pub start_card: CreationEntryStartCardResponse, pub type_modal: CreationEntryTypeModalResponse, pub event_banner: CreationEntryEventBannerResponse, pub creation_types: Vec, } #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] pub struct CreationEntryStartCardResponse { pub title: String, pub description: String, pub idle_badge: String, pub busy_badge: String, } #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] pub struct CreationEntryTypeModalResponse { pub title: String, pub description: String, } #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] pub struct CreationEntryEventBannerResponse { pub title: String, pub description: String, pub cover_image_src: String, pub prize_pool_mud_points: u64, pub starts_at_text: String, pub ends_at_text: String, } #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] pub struct CreationEntryTypeResponse { pub id: String, pub title: String, pub subtitle: String, pub badge: String, pub image_src: String, pub visible: bool, pub open: bool, pub sort_order: i32, pub category_id: String, pub category_label: String, pub category_sort_order: i32, pub updated_at_micros: i64, }