Enum rtdlib::types::InlineQueryResult [−][src]
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
Represents an animation file
Tuple Fields of Animation
Represents a link to an article or web page
Tuple Fields of Article
Represents an audio file
Tuple Fields of Audio
Represents a user contact
Tuple Fields of Contact
Represents a document
Tuple Fields of Document
Represents information about a game
Tuple Fields of Game
Represents a point on the map
Tuple Fields of Location
Represents a photo
Tuple Fields of Photo
Represents a sticker
Tuple Fields of Sticker
Represents information about a venue
Tuple Fields of Venue
Represents a video
Tuple Fields of Video
Represents a voice note
Tuple Fields of VoiceNote
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