pub struct InlineKeyboardButtonTypeSwitchInline {
pub query: String,
pub in_current_chat: bool,
}
Expand description
A button that forces an inline query to the bot to be inserted in the input field
Fields§
§query: String
Inline query to be sent to the bot
in_current_chat: bool
True, if the inline query should be sent from the current chat
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonTypeSwitchInline
impl Clone for InlineKeyboardButtonTypeSwitchInline
Source§fn clone(&self) -> InlineKeyboardButtonTypeSwitchInline
fn clone(&self) -> InlineKeyboardButtonTypeSwitchInline
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<'de> Deserialize<'de> for InlineKeyboardButtonTypeSwitchInline
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeSwitchInline
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
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeSwitchInline
impl RefUnwindSafe for InlineKeyboardButtonTypeSwitchInline
impl Send for InlineKeyboardButtonTypeSwitchInline
impl Sync for InlineKeyboardButtonTypeSwitchInline
impl Unpin for InlineKeyboardButtonTypeSwitchInline
impl UnwindSafe for InlineKeyboardButtonTypeSwitchInline
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