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