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