pub struct InlineQueryResultArticle {
pub id: String,
pub url: String,
pub hide_url: bool,
pub title: String,
pub description: String,
pub thumbnail: Option<PhotoSize>,
}
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<PhotoSize>
Result thumbnail; 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 duplicate 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
Auto Trait Implementations§
impl Freeze for InlineQueryResultArticle
impl RefUnwindSafe for InlineQueryResultArticle
impl Send for InlineQueryResultArticle
impl Sync for InlineQueryResultArticle
impl Unpin for InlineQueryResultArticle
impl UnwindSafe for InlineQueryResultArticle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more