pub struct KeyboardButtonSwitchInline {
pub same_peer: bool,
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub query: String,
pub peer_types: Option<Vec<InlineQueryPeerType>>,
}Expand description
Read keyboardButtonSwitchInline docs.
Generated from the following TL definition:
keyboardButtonSwitchInline#991399fc flags:# same_peer:flags.0?true style:flags.10?KeyboardButtonStyle text:string query:string peer_types:flags.1?Vector<InlineQueryPeerType> = KeyboardButtonFields§
§same_peer: bool§style: Option<KeyboardButtonStyle>§text: String§query: String§peer_types: Option<Vec<InlineQueryPeerType>>Trait Implementations§
Source§impl Clone for KeyboardButtonSwitchInline
impl Clone for KeyboardButtonSwitchInline
Source§fn clone(&self) -> KeyboardButtonSwitchInline
fn clone(&self) -> KeyboardButtonSwitchInline
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 KeyboardButtonSwitchInline
impl Debug for KeyboardButtonSwitchInline
Source§impl From<KeyboardButtonSwitchInline> for KeyboardButton
impl From<KeyboardButtonSwitchInline> for KeyboardButton
Source§fn from(x: KeyboardButtonSwitchInline) -> Self
fn from(x: KeyboardButtonSwitchInline) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonSwitchInline
impl Identifiable for KeyboardButtonSwitchInline
Source§const CONSTRUCTOR_ID: u32 = 2568198652
const CONSTRUCTOR_ID: u32 = 2568198652
The unique identifier for the type.
impl StructuralPartialEq for KeyboardButtonSwitchInline
Auto Trait Implementations§
impl Freeze for KeyboardButtonSwitchInline
impl RefUnwindSafe for KeyboardButtonSwitchInline
impl Send for KeyboardButtonSwitchInline
impl Sync for KeyboardButtonSwitchInline
impl Unpin for KeyboardButtonSwitchInline
impl UnsafeUnpin for KeyboardButtonSwitchInline
impl UnwindSafe for KeyboardButtonSwitchInline
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