pub enum InlineQueryResult {
Animation(InlineQueryResultAnimation),
Article(InlineQueryResultArticle),
Audio(InlineQueryResultAudio),
Contact(InlineQueryResultContact),
Document(InlineQueryResultDocument),
Game(InlineQueryResultGame),
Location(InlineQueryResultLocation),
Photo(InlineQueryResultPhoto),
Sticker(InlineQueryResultSticker),
Venue(InlineQueryResultVenue),
Video(InlineQueryResultVideo),
VoiceNote(InlineQueryResultVoiceNote),
// some variants omitted
}
Expand description
Represents a single result of an inline query
Variants
Animation(InlineQueryResultAnimation)
Tuple Fields
Represents an animation file
Article(InlineQueryResultArticle)
Tuple Fields
Represents a link to an article or web page
Audio(InlineQueryResultAudio)
Tuple Fields
Represents an audio file
Contact(InlineQueryResultContact)
Tuple Fields
Represents a user contact
Document(InlineQueryResultDocument)
Tuple Fields
Represents a document
Game(InlineQueryResultGame)
Tuple Fields
Represents information about a game
Location(InlineQueryResultLocation)
Tuple Fields
Represents a point on the map
Photo(InlineQueryResultPhoto)
Tuple Fields
Represents a photo
Sticker(InlineQueryResultSticker)
Tuple Fields
Represents a sticker
Venue(InlineQueryResultVenue)
Tuple Fields
Represents information about a venue
Video(InlineQueryResultVideo)
Tuple Fields
Represents a video
VoiceNote(InlineQueryResultVoiceNote)
Tuple Fields
Represents a voice note
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<InlineQueryResult, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<InlineQueryResult, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResult
impl Send for InlineQueryResult
impl Sync for InlineQueryResult
impl Unpin for InlineQueryResult
impl UnwindSafe for InlineQueryResult
Blanket Implementations
Mutably borrows from an owned value. Read more