cryptgeon/backend/src/status/model.rs

16 lines
324 B
Rust
Raw Normal View History

use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct Status {
2022-07-13 23:31:05 +02:00
// General
2022-03-12 14:07:33 +01:00
pub version: String,
2022-07-13 23:31:05 +02:00
// Config
2022-03-12 14:07:33 +01:00
pub max_size: u32,
pub max_views: u32,
pub max_expiration: u32,
pub allow_advanced: bool,
2022-07-13 23:31:05 +02:00
// Theme
pub theme_image: String,
pub theme_text: String,
}