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