pub enum InlineQueryResultsButtonType {
StartBot(InlineQueryResultsButtonTypeStartBot),
WebApp(InlineQueryResultsButtonTypeWebApp),
}
Variants§
StartBot(InlineQueryResultsButtonTypeStartBot)
Describes the button that opens a private chat with the bot and sends a start message to the bot with the given parameter
WebApp(InlineQueryResultsButtonTypeWebApp)
Describes the button that opens a Web App by calling getWebAppUrl
Trait Implementations§
Source§impl Clone for InlineQueryResultsButtonType
impl Clone for InlineQueryResultsButtonType
Source§fn clone(&self) -> InlineQueryResultsButtonType
fn clone(&self) -> InlineQueryResultsButtonType
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 InlineQueryResultsButtonType
impl Debug for InlineQueryResultsButtonType
Source§impl<'de> Deserialize<'de> for InlineQueryResultsButtonType
impl<'de> Deserialize<'de> for InlineQueryResultsButtonType
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 InlineQueryResultsButtonType
impl PartialEq for InlineQueryResultsButtonType
Source§fn eq(&self, other: &InlineQueryResultsButtonType) -> bool
fn eq(&self, other: &InlineQueryResultsButtonType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InlineQueryResultsButtonType
Auto Trait Implementations§
impl Freeze for InlineQueryResultsButtonType
impl RefUnwindSafe for InlineQueryResultsButtonType
impl Send for InlineQueryResultsButtonType
impl Sync for InlineQueryResultsButtonType
impl Unpin for InlineQueryResultsButtonType
impl UnwindSafe for InlineQueryResultsButtonType
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