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