mod_sticky_post_view::ModStickyPostView,
};
use serde::{Deserialize, Serialize};
+use url::Url;
#[derive(Deserialize, Debug)]
pub struct Search {
pub struct CreateSite {
pub name: String,
pub description: Option<String>,
- pub icon: Option<String>,
- pub banner: Option<String>,
+ pub icon: Option<Url>,
+ pub banner: Option<Url>,
pub enable_downvotes: bool,
pub open_registration: bool,
pub enable_nsfw: bool,