Enum rust_tdlib::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
Animation(InlineQueryResultAnimation)
Expand description
Represents an animation file
Article(InlineQueryResultArticle)
Expand description
Represents a link to an article or web page
Audio(InlineQueryResultAudio)
Expand description
Represents an audio file
Contact(InlineQueryResultContact)
Expand description
Represents a user contact
Document(InlineQueryResultDocument)
Expand description
Represents a document
Game(InlineQueryResultGame)
Expand description
Represents information about a game
Location(InlineQueryResultLocation)
Expand description
Represents a point on the map
Photo(InlineQueryResultPhoto)
Expand description
Represents a photo
Sticker(InlineQueryResultSticker)
Expand description
Represents a sticker
Venue(InlineQueryResultVenue)
Expand description
Represents information about a venue
Video(InlineQueryResultVideo)
Expand description
Represents a video
VoiceNote(InlineQueryResultVoiceNote)
Expand description
Represents a voice note
Implementations
Trait Implementations
impl AsRef<InlineQueryResult> for InlineQueryResult
[src]
impl AsRef<InlineQueryResult> for InlineQueryResult
[src]fn as_ref(&self) -> &InlineQueryResult
[src]
fn as_ref(&self) -> &InlineQueryResult
[src]Performs the conversion.
impl Clone for InlineQueryResult
[src]
impl Clone for InlineQueryResult
[src]fn clone(&self) -> InlineQueryResult
[src]
fn clone(&self) -> InlineQueryResult
[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 InlineQueryResult
[src]
impl Debug for InlineQueryResult
[src]impl Default for InlineQueryResult
[src]
impl Default for InlineQueryResult
[src]impl<'de> Deserialize<'de> for InlineQueryResult
[src]
impl<'de> Deserialize<'de> for InlineQueryResult
[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 InlineQueryResult
[src]
impl Serialize for InlineQueryResult
[src]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
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>,