Struct tdlib::types::InlineQueryResultArticle
source · pub struct InlineQueryResultArticle {
pub id: String,
pub url: String,
pub hide_url: bool,
pub title: String,
pub description: String,
pub thumbnail: Option<Thumbnail>,
}
Expand description
Represents a link to an article or web page
Fields§
§id: String
Unique identifier of the query result
url: String
URL of the result, if it exists
hide_url: bool
True, if the URL must be not shown
title: String
Title of the result
description: String
A short description of the result
thumbnail: Option<Thumbnail>
Result thumbnail in JPEG format; may be null
Trait Implementations§
source§impl Clone for InlineQueryResultArticle
impl Clone for InlineQueryResultArticle
source§fn clone(&self) -> InlineQueryResultArticle
fn clone(&self) -> InlineQueryResultArticle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InlineQueryResultArticle
impl Debug for InlineQueryResultArticle
source§impl<'de> Deserialize<'de> for InlineQueryResultArticle
impl<'de> Deserialize<'de> for InlineQueryResultArticle
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more