use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct BaiduSearch; impl Platform for BaiduSearch { fn id(&self) -> &'static str { "baidu-search" } fn name(&self) -> &'static str { "百度搜索" } fn category(&self) -> Category { Category::Knowledge } fn domains(&self) -> &'static [&'static str] { &["m.baidu.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: BaiduSearch = BaiduSearch;