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
+6
View File
@@ -1,8 +1,14 @@
//! A module containing info relating to a search result.
use super::prelude::{Account, Status};
/// A struct containing results of a search.
#[derive(Debug, Clone, Deserialize)]
pub struct SearchResult {
/// An array of matched Accounts.
pub accounts: Vec<Account>,
/// An array of matched Statuses.
pub statuses: Vec<Status>,
/// An array of matched hashtags, as strings.
pub hashtags: Vec<String>,
}