pub enum InlineQueryResult {
Article(InlineQueryResultArticle),
Contact(InlineQueryResultContact),
Location(InlineQueryResultLocation),
Venue(InlineQueryResultVenue),
Game(InlineQueryResultGame),
Animation(InlineQueryResultAnimation),
Audio(InlineQueryResultAudio),
Document(InlineQueryResultDocument),
Photo(InlineQueryResultPhoto),
Sticker(InlineQueryResultSticker),
Video(InlineQueryResultVideo),
VoiceNote(InlineQueryResultVoiceNote),
}
Variants§
Article(InlineQueryResultArticle)
Represents a link to an article or web page
Contact(InlineQueryResultContact)
Represents a user contact
Location(InlineQueryResultLocation)
Represents a point on the map
Venue(InlineQueryResultVenue)
Represents information about a venue
Game(InlineQueryResultGame)
Represents information about a game
Animation(InlineQueryResultAnimation)
Represents an animation file
Audio(InlineQueryResultAudio)
Represents an audio file
Document(InlineQueryResultDocument)
Represents a document
Photo(InlineQueryResultPhoto)
Represents a photo
Sticker(InlineQueryResultSticker)
Represents a sticker
Video(InlineQueryResultVideo)
Represents a video
VoiceNote(InlineQueryResultVoiceNote)
Represents a voice note
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§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§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