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