Struct frankenstein::objects::InlineQueryResultMpeg4Gif [−][src]
pub struct InlineQueryResultMpeg4Gif {Show 13 fields
pub id: String,
pub mpeg4_url: String,
pub mpeg4_width: Option<u32>,
pub mpeg4_height: Option<u32>,
pub mpeg4_duration: Option<u32>,
pub thumb_url: String,
pub thumb_mime_type: Option<String>,
pub title: Option<String>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}
Fields
id: String
mpeg4_url: String
mpeg4_width: Option<u32>
mpeg4_height: Option<u32>
mpeg4_duration: Option<u32>
thumb_url: String
thumb_mime_type: Option<String>
title: Option<String>
parse_mode: Option<String>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<InputMessageContent>
Implementations
pub fn set_input_message_content(
&mut self,
input_message_content: Option<InputMessageContent>
)
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultMpeg4Gif
impl Send for InlineQueryResultMpeg4Gif
impl Sync for InlineQueryResultMpeg4Gif
impl Unpin for InlineQueryResultMpeg4Gif
impl UnwindSafe for InlineQueryResultMpeg4Gif
Blanket Implementations
Mutably borrows from an owned value. Read more