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