use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Linkedin; impl Platform for Linkedin { fn id(&self) -> &'static str { "linkedin" } fn name(&self) -> &'static str { "LinkedIn" } fn category(&self) -> Category { Category::Social } fn domains(&self) -> &'static [&'static str] { &["linkedin.com", "lnkd.in"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Linkedin = Linkedin;