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