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