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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 From<InlineQueryResultArticle> for InlineQueryResult
impl From<InlineQueryResultArticle> for InlineQueryResult
Source§fn from(o: InlineQueryResultArticle) -> Self
fn from(o: InlineQueryResultArticle) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultAudio> for InlineQueryResult
impl From<InlineQueryResultAudio> for InlineQueryResult
Source§fn from(o: InlineQueryResultAudio) -> Self
fn from(o: InlineQueryResultAudio) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedAudio> for InlineQueryResult
impl From<InlineQueryResultCachedAudio> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedAudio) -> Self
fn from(o: InlineQueryResultCachedAudio) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedDocument> for InlineQueryResult
impl From<InlineQueryResultCachedDocument> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedDocument) -> Self
fn from(o: InlineQueryResultCachedDocument) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedGif> for InlineQueryResult
impl From<InlineQueryResultCachedGif> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedGif) -> Self
fn from(o: InlineQueryResultCachedGif) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedMpeg4Gif> for InlineQueryResult
impl From<InlineQueryResultCachedMpeg4Gif> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedMpeg4Gif) -> Self
fn from(o: InlineQueryResultCachedMpeg4Gif) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedPhoto> for InlineQueryResult
impl From<InlineQueryResultCachedPhoto> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedPhoto) -> Self
fn from(o: InlineQueryResultCachedPhoto) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedSticker> for InlineQueryResult
impl From<InlineQueryResultCachedSticker> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedSticker) -> Self
fn from(o: InlineQueryResultCachedSticker) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedVideo> for InlineQueryResult
impl From<InlineQueryResultCachedVideo> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedVideo) -> Self
fn from(o: InlineQueryResultCachedVideo) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultCachedVoice> for InlineQueryResult
impl From<InlineQueryResultCachedVoice> for InlineQueryResult
Source§fn from(o: InlineQueryResultCachedVoice) -> Self
fn from(o: InlineQueryResultCachedVoice) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultContact> for InlineQueryResult
impl From<InlineQueryResultContact> for InlineQueryResult
Source§fn from(o: InlineQueryResultContact) -> Self
fn from(o: InlineQueryResultContact) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultDocument> for InlineQueryResult
impl From<InlineQueryResultDocument> for InlineQueryResult
Source§fn from(o: InlineQueryResultDocument) -> Self
fn from(o: InlineQueryResultDocument) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultGame> for InlineQueryResult
impl From<InlineQueryResultGame> for InlineQueryResult
Source§fn from(o: InlineQueryResultGame) -> Self
fn from(o: InlineQueryResultGame) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultGif> for InlineQueryResult
impl From<InlineQueryResultGif> for InlineQueryResult
Source§fn from(o: InlineQueryResultGif) -> Self
fn from(o: InlineQueryResultGif) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultLocation> for InlineQueryResult
impl From<InlineQueryResultLocation> for InlineQueryResult
Source§fn from(o: InlineQueryResultLocation) -> Self
fn from(o: InlineQueryResultLocation) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultMpeg4Gif> for InlineQueryResult
impl From<InlineQueryResultMpeg4Gif> for InlineQueryResult
Source§fn from(o: InlineQueryResultMpeg4Gif) -> Self
fn from(o: InlineQueryResultMpeg4Gif) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultPhoto> for InlineQueryResult
impl From<InlineQueryResultPhoto> for InlineQueryResult
Source§fn from(o: InlineQueryResultPhoto) -> Self
fn from(o: InlineQueryResultPhoto) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultVenue> for InlineQueryResult
impl From<InlineQueryResultVenue> for InlineQueryResult
Source§fn from(o: InlineQueryResultVenue) -> Self
fn from(o: InlineQueryResultVenue) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultVideo> for InlineQueryResult
impl From<InlineQueryResultVideo> for InlineQueryResult
Source§fn from(o: InlineQueryResultVideo) -> Self
fn from(o: InlineQueryResultVideo) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryResultVoice> for InlineQueryResult
impl From<InlineQueryResultVoice> for InlineQueryResult
Source§fn from(o: InlineQueryResultVoice) -> Self
fn from(o: InlineQueryResultVoice) -> Self
Converts to this type from the input type.
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