Struct telexide::api::types::InlineQueryResultArticle [−][src]
pub struct InlineQueryResultArticle { pub id: String, pub title: String, pub input_message_content: InputMessageContent, pub reply_markup: Option<InlineKeyboardMarkup>, pub url: Option<String>, pub hide_url: bool, pub description: Option<String>, pub thumb_url: Option<String>, pub thumb_width: Option<i64>, pub thumb_height: Option<i64>, }
Represents a link to an article or web page.
Fields
id: String
Unique identifier for this result, 1-64 Bytes
title: String
Title of the result
input_message_content: InputMessageContent
Content of the message to be sent
reply_markup: Option<InlineKeyboardMarkup>
Inline keyboard attached to the message
url: Option<String>
URL of the result
hide_url: bool
Pass True, if you don’t want the URL to be shown in the message
description: Option<String>
Short description of the result
thumb_url: Option<String>
Url of the thumbnail for the result
thumb_width: Option<i64>
Thumbnail width
thumb_height: Option<i64>
Thumbnail height
Trait Implementations
impl Clone for InlineQueryResultArticle
[src]
impl Clone for InlineQueryResultArticle
[src]fn clone(&self) -> InlineQueryResultArticle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for InlineQueryResultArticle
[src]
impl<'de> Deserialize<'de> for InlineQueryResultArticle
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<InlineQueryResultArticle> for InlineQueryResultArticle
[src]
impl PartialEq<InlineQueryResultArticle> for InlineQueryResultArticle
[src]fn eq(&self, other: &InlineQueryResultArticle) -> bool
[src]
fn ne(&self, other: &InlineQueryResultArticle) -> bool
[src]
impl Serialize for InlineQueryResultArticle
[src]
impl Serialize for InlineQueryResultArticle
[src]Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultArticle
impl RefUnwindSafe for InlineQueryResultArticle
impl Send for InlineQueryResultArticle
impl Send for InlineQueryResultArticle
impl Sync for InlineQueryResultArticle
impl Sync for InlineQueryResultArticle
impl Unpin for InlineQueryResultArticle
impl Unpin for InlineQueryResultArticle
impl UnwindSafe for InlineQueryResultArticle
impl UnwindSafe for InlineQueryResultArticle
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,