/* * Snekdown - Custom Markdown flavour and parser * Copyright (C) 2021 Trivernis * See LICENSE for more information. */ use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Clone, Debug)] pub struct ImageSettings { pub format: Option, pub max_width: Option, pub max_height: Option, } impl Default for ImageSettings { fn default() -> Self { Self { format: None, max_height: None, max_width: None, } } }