From a0a933eb324fda96aedd1dfe2fbbcb10fa5190f5 Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Sun, 14 May 2017 21:35:59 -0700 Subject: Remove more remaining selfbot support We removed these a long time ago, and these were missed. --- src/model/channel/mod.rs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/model/channel/mod.rs') diff --git a/src/model/channel/mod.rs b/src/model/channel/mod.rs index a54acdf..33e4e9b 100644 --- a/src/model/channel/mod.rs +++ b/src/model/channel/mod.rs @@ -497,21 +497,3 @@ pub enum PermissionOverwriteType { /// A role which is having its permission overwrites edited. Role(RoleId), } - -/// The results of a search, including the total results and a vector of -/// messages. -#[derive(Clone, Debug, Deserialize)] -pub struct SearchResult { - /// An amount of messages returned from the result. - /// - /// Note that this is a vectof of a vector of messages. Each "set" of - /// messages contains the "found" message, as well as optional surrounding - /// messages for context. - #[serde(rename="messages")] - pub results: Vec>, - /// The number of messages directly related to the search. - /// - /// This does not count contextual messages. - #[serde(rename="total_results")] - pub total: u64, -} -- cgit v1.2.3