Enum rust_tdlib::types::InputInlineQueryResult [−][src]
pub enum InputInlineQueryResult { Animation(InputInlineQueryResultAnimation), Article(InputInlineQueryResultArticle), Audio(InputInlineQueryResultAudio), Contact(InputInlineQueryResultContact), Document(InputInlineQueryResultDocument), Game(InputInlineQueryResultGame), Location(InputInlineQueryResultLocation), Photo(InputInlineQueryResultPhoto), Sticker(InputInlineQueryResultSticker), Venue(InputInlineQueryResultVenue), Video(InputInlineQueryResultVideo), VoiceNote(InputInlineQueryResultVoiceNote), // some variants omitted }
Expand description
Represents a single result of an inline query; for bots only
Variants
Animation(InputInlineQueryResultAnimation)
Expand description
Represents a link to an animated GIF or an animated (i.e. without sound) H.264/MPEG-4 AVC video
Article(InputInlineQueryResultArticle)
Expand description
Represents a link to an article or web page
Audio(InputInlineQueryResultAudio)
Expand description
Represents a link to an MP3 audio file
Contact(InputInlineQueryResultContact)
Expand description
Represents a user contact
Document(InputInlineQueryResultDocument)
Expand description
Represents a link to a file
Expand description
Represents a game
Location(InputInlineQueryResultLocation)
Expand description
Represents a point on the map
Photo(InputInlineQueryResultPhoto)
Expand description
Represents link to a JPEG image
Sticker(InputInlineQueryResultSticker)
Expand description
Represents a link to a WEBP or TGS sticker
Venue(InputInlineQueryResultVenue)
Expand description
Represents information about a venue
Video(InputInlineQueryResultVideo)
Expand description
Represents a link to a page containing an embedded video player or a video file
VoiceNote(InputInlineQueryResultVoiceNote)
Expand description
Represents a link to an opus-encoded audio file within an OGG container, single channel audio
Implementations
Trait Implementations
impl AsRef<InputInlineQueryResult> for InputInlineQueryResult
[src]
impl AsRef<InputInlineQueryResult> for InputInlineQueryResult
[src]fn as_ref(&self) -> &InputInlineQueryResult
[src]
fn as_ref(&self) -> &InputInlineQueryResult
[src]Performs the conversion.
impl Clone for InputInlineQueryResult
[src]
impl Clone for InputInlineQueryResult
[src]fn clone(&self) -> InputInlineQueryResult
[src]
fn clone(&self) -> InputInlineQueryResult
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for InputInlineQueryResult
[src]
impl Debug for InputInlineQueryResult
[src]impl Default for InputInlineQueryResult
[src]
impl Default for InputInlineQueryResult
[src]impl<'de> Deserialize<'de> for InputInlineQueryResult
[src]
impl<'de> Deserialize<'de> for InputInlineQueryResult
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for InputInlineQueryResult
[src]
impl Serialize for InputInlineQueryResult
[src]Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResult
impl Send for InputInlineQueryResult
impl Sync for InputInlineQueryResult
impl Unpin for InputInlineQueryResult
impl UnwindSafe for InputInlineQueryResult
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,