Fix some "unused imports" warnings

This commit is contained in:
Waffle 2019-09-19 01:37:45 +03:00
parent d9a974472a
commit 553ffd928b
5 changed files with 7 additions and 12 deletions

View file

@ -1,6 +1,4 @@
use crate::core::types::{ use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
InlineKeyboardMarkup, InputMessageContent, ParseMode,
};
#[derive(Debug, Serialize, PartialEq, Clone)] #[derive(Debug, Serialize, PartialEq, Clone)]
pub struct InlineQueryResultContact { pub struct InlineQueryResultContact {

View file

@ -1,6 +1,4 @@
use crate::core::types::{ use crate::core::types::InlineKeyboardMarkup;
InlineKeyboardMarkup, InputMessageContent, ParseMode,
};
#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)] #[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)]
pub struct InlineQueryResultGame { pub struct InlineQueryResultGame {

View file

@ -1,6 +1,4 @@
use crate::core::types::{ use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
InlineKeyboardMarkup, InputMessageContent, ParseMode,
};
#[derive(Debug, Serialize, PartialEq, Clone)] #[derive(Debug, Serialize, PartialEq, Clone)]
pub struct InlineQueryResultLocation { pub struct InlineQueryResultLocation {

View file

@ -2,6 +2,9 @@ use crate::core::types::{
InlineKeyboardMarkup, InputMessageContent, ParseMode, InlineKeyboardMarkup, InputMessageContent, ParseMode,
}; };
/// Represents a link to a photo. By default, this photo will be sent by the
/// user with optional caption. Alternatively, you can use input_message_content
/// to send a message with the specified content instead of the photo.
#[derive(Debug, Serialize, PartialEq, Clone)] #[derive(Debug, Serialize, PartialEq, Clone)]
pub struct InlineQueryResultPhoto { pub struct InlineQueryResultPhoto {
pub id: String, pub id: String,

View file

@ -1,6 +1,4 @@
use crate::core::types::{ use crate::core::types::{InlineKeyboardMarkup, InputMessageContent};
InlineKeyboardMarkup, InputMessageContent, ParseMode,
};
#[derive(Debug, Serialize, PartialEq, Clone)] #[derive(Debug, Serialize, PartialEq, Clone)]
pub struct InlineQueryResultVenue { pub struct InlineQueryResultVenue {