use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Ebay; impl Platform for Ebay { fn id(&self) -> &'static str { "ebay" } fn name(&self) -> &'static str { "eBay" } fn category(&self) -> Category { Category::Ecommerce } fn domains(&self) -> &'static [&'static str] { &["ebay.com", "ebay.co.uk", "ebay.de", "ebay.fr", "ebay.com.au", "ebay.ca", "ebay.it", "ebay.es", "ebay.com.hk", "ebay.com.sg", "ebay.ph", "ebay.com.my", "ebay.ie", "ebay.nl", "ebay.at", "ebay.ch", "ebay.com.tw"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Ebay = Ebay;