pub struct NoSkipInlineQueryResultCachedMpeg4Gif {
pub tg_type: String,
pub id: String,
pub mpeg_4_file_id: String,
pub title: Option<String>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub show_caption_above_media: Option<bool>,
pub reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>,
pub input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>,
}
Expand description
Companion type to InlineQueryResultCachedMpeg4Gif that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§tg_type: String
Type of the result, must be mpeg4_gif
id: String
Unique identifier for this result, 1-64 bytes
mpeg_4_file_id: String
A valid file identifier for the MPEG4 file
title: Option<String>
§caption: Option<String>
§parse_mode: Option<String>
§caption_entities: Option<Vec<MessageEntity>>
§show_caption_above_media: Option<bool>
§reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>
§input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>
Implementations§
source§impl NoSkipInlineQueryResultCachedMpeg4Gif
impl NoSkipInlineQueryResultCachedMpeg4Gif
pub fn skip(self) -> InlineQueryResultCachedMpeg4Gif
Trait Implementations§
source§impl Clone for NoSkipInlineQueryResultCachedMpeg4Gif
impl Clone for NoSkipInlineQueryResultCachedMpeg4Gif
source§fn clone(&self) -> NoSkipInlineQueryResultCachedMpeg4Gif
fn clone(&self) -> NoSkipInlineQueryResultCachedMpeg4Gif
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 Default for NoSkipInlineQueryResultCachedMpeg4Gif
impl Default for NoSkipInlineQueryResultCachedMpeg4Gif
source§fn default() -> NoSkipInlineQueryResultCachedMpeg4Gif
fn default() -> NoSkipInlineQueryResultCachedMpeg4Gif
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipInlineQueryResultCachedMpeg4Gif
impl<'de> Deserialize<'de> for NoSkipInlineQueryResultCachedMpeg4Gif
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
source§impl From<NoSkipInlineQueryResultCachedMpeg4Gif> for InlineQueryResultCachedMpeg4Gif
impl From<NoSkipInlineQueryResultCachedMpeg4Gif> for InlineQueryResultCachedMpeg4Gif
source§fn from(t: NoSkipInlineQueryResultCachedMpeg4Gif) -> Self
fn from(t: NoSkipInlineQueryResultCachedMpeg4Gif) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipInlineQueryResultCachedMpeg4Gif> for InlineQueryResultCachedMpeg4Gif
impl Into<NoSkipInlineQueryResultCachedMpeg4Gif> for InlineQueryResultCachedMpeg4Gif
source§fn into(self) -> NoSkipInlineQueryResultCachedMpeg4Gif
fn into(self) -> NoSkipInlineQueryResultCachedMpeg4Gif
Converts this type into the (usually inferred) input type.
source§impl Ord for NoSkipInlineQueryResultCachedMpeg4Gif
impl Ord for NoSkipInlineQueryResultCachedMpeg4Gif
source§fn cmp(&self, other: &NoSkipInlineQueryResultCachedMpeg4Gif) -> Ordering
fn cmp(&self, other: &NoSkipInlineQueryResultCachedMpeg4Gif) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NoSkipInlineQueryResultCachedMpeg4Gif
impl PartialEq for NoSkipInlineQueryResultCachedMpeg4Gif
source§fn eq(&self, other: &NoSkipInlineQueryResultCachedMpeg4Gif) -> bool
fn eq(&self, other: &NoSkipInlineQueryResultCachedMpeg4Gif) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NoSkipInlineQueryResultCachedMpeg4Gif
impl PartialOrd for NoSkipInlineQueryResultCachedMpeg4Gif
source§fn partial_cmp(
&self,
other: &NoSkipInlineQueryResultCachedMpeg4Gif,
) -> Option<Ordering>
fn partial_cmp( &self, other: &NoSkipInlineQueryResultCachedMpeg4Gif, ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NoSkipInlineQueryResultCachedMpeg4Gif
impl StructuralPartialEq for NoSkipInlineQueryResultCachedMpeg4Gif
Auto Trait Implementations§
impl Freeze for NoSkipInlineQueryResultCachedMpeg4Gif
impl RefUnwindSafe for NoSkipInlineQueryResultCachedMpeg4Gif
impl Send for NoSkipInlineQueryResultCachedMpeg4Gif
impl Sync for NoSkipInlineQueryResultCachedMpeg4Gif
impl Unpin for NoSkipInlineQueryResultCachedMpeg4Gif
impl UnwindSafe for NoSkipInlineQueryResultCachedMpeg4Gif
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.