use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Discuz; impl Platform for Discuz { fn id(&self) -> &'static str { "discuz" } fn name(&self) -> &'static str { "Discuz" } fn category(&self) -> Category { Category::Forum } fn domains(&self) -> &'static [&'static str] { &["discuz.net", "discuz.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Discuz = Discuz;