Skip to content
Clone
main
28 lines 474 B Rust
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<EmbedRule> {
None
}
}
pub static PLATFORM: Digg = Digg;