use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Kfc; impl Platform for Kfc { fn id(&self) -> &'static str { "kfc" } fn name(&self) -> &'static str { "肯德基" } fn category(&self) -> Category { Category::Ecommerce } fn domains(&self) -> &'static [&'static str] { &["kfc.com.cn", "kfc.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Kfc = Kfc;