//! Module representing cards of statuses. use serde::Deserialize; /// A card of a status. #[derive(Debug, Clone, Deserialize, PartialEq)] pub struct Card { /// The url associated with the card. pub url: String, /// The title of the card. pub title: String, /// The card description. pub description: String, /// The image associated with the card, if any. pub image: Option, /// OEmbed data author_name: Option, /// OEmbed data author_url: Option, /// OEmbed data provider_name: Option, /// OEmbed data provider_url: Option, /// OEmbed data html: Option, /// OEmbed data width: Option, /// OEmbed data height: Option, }