docs(all): Added documentation to missing parts

This commit is contained in:
Aaron Power
2017-11-11 11:50:09 +00:00
parent 87bcc139bb
commit b445197381
15 changed files with 203 additions and 13 deletions
+7
View File
@@ -1,7 +1,14 @@
//! Module representing cards of statuses.
/// A card of a status.
#[derive(Debug, Clone, Deserialize)]
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: String,
}