pub enum InlineQueryResult {
Show 20 variants
CachedAudio(InlineQueryResultCachedAudio),
CachedDocument(InlineQueryResultCachedDocument),
CachedGif(InlineQueryResultCachedGif),
CachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif),
CachedPhoto(InlineQueryResultCachedPhoto),
CachedSticker(InlineQueryResultCachedSticker),
CachedVideo(InlineQueryResultCachedVideo),
CachedVoice(InlineQueryResultCachedVoice),
Article(InlineQueryResultArticle),
Audio(InlineQueryResultAudio),
Contact(InlineQueryResultContact),
Game(InlineQueryResultGame),
Document(InlineQueryResultDocument),
Gif(InlineQueryResultGif),
Location(InlineQueryResultLocation),
Mpeg4Gif(InlineQueryResultMpeg4Gif),
Photo(InlineQueryResultPhoto),
Venue(InlineQueryResultVenue),
Video(InlineQueryResultVideo),
Voice(InlineQueryResultVoice),
}
Variants§
CachedAudio(InlineQueryResultCachedAudio)
CachedDocument(InlineQueryResultCachedDocument)
CachedGif(InlineQueryResultCachedGif)
CachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif)
CachedPhoto(InlineQueryResultCachedPhoto)
CachedSticker(InlineQueryResultCachedSticker)
CachedVideo(InlineQueryResultCachedVideo)
CachedVoice(InlineQueryResultCachedVoice)
Article(InlineQueryResultArticle)
Audio(InlineQueryResultAudio)
Contact(InlineQueryResultContact)
Game(InlineQueryResultGame)
Document(InlineQueryResultDocument)
Gif(InlineQueryResultGif)
Location(InlineQueryResultLocation)
Mpeg4Gif(InlineQueryResultMpeg4Gif)
Photo(InlineQueryResultPhoto)
Venue(InlineQueryResultVenue)
Video(InlineQueryResultVideo)
Voice(InlineQueryResultVoice)
Trait Implementations§
source§impl Clone for InlineQueryResult
impl Clone for InlineQueryResult
source§fn clone(&self) -> InlineQueryResult
fn clone(&self) -> InlineQueryResult
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 InlineQueryResult
impl Debug for InlineQueryResult
source§impl<'de> Deserialize<'de> for InlineQueryResult
impl<'de> Deserialize<'de> for InlineQueryResult
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 PartialEq for InlineQueryResult
impl PartialEq for InlineQueryResult
source§fn eq(&self, other: &InlineQueryResult) -> bool
fn eq(&self, other: &InlineQueryResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InlineQueryResult
impl Serialize for InlineQueryResult
impl StructuralPartialEq for InlineQueryResult
Auto Trait Implementations§
impl Freeze for InlineQueryResult
impl RefUnwindSafe for InlineQueryResult
impl Send for InlineQueryResult
impl Sync for InlineQueryResult
impl Unpin for InlineQueryResult
impl UnwindSafe for InlineQueryResult
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