From aef4d51179cf1971a8c8703804968207de92fa6f Mon Sep 17 00:00:00 2001 From: RustemB Date: Tue, 17 Sep 2019 22:31:41 +0500 Subject: [PATCH] fixes --- src/core/types/inline_query.rs | 2 +- src/core/types/inline_query_result_article.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/types/inline_query.rs b/src/core/types/inline_query.rs index 2b6ef480..4ee13687 100644 --- a/src/core/types/inline_query.rs +++ b/src/core/types/inline_query.rs @@ -1,6 +1,6 @@ use crate::core::types::{User, Location}; -#[derive(Debug, Serialize, Deserialize, Hash, PartialEq, Eq, Clone)] +#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)] pub struct InlineQuery { /// Unique identifier for this query pub id: String, diff --git a/src/core/types/inline_query_result_article.rs b/src/core/types/inline_query_result_article.rs index 787a4201..2979ea1b 100644 --- a/src/core/types/inline_query_result_article.rs +++ b/src/core/types/inline_query_result_article.rs @@ -1,6 +1,6 @@ use crate::core::types::{InputMessageContent, InlineKeyboardMarkup}; -#[derive(Debug, Deserialize, PartialEq, Clone)] +#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)] pub struct InlineQueryResultArticle { /// Unique identifier for this result, 1-64 Bytes pub id: String,