pub struct InlineQueryResultsButton {
pub text: String,
pub type: InlineQueryResultsButtonType,
}
Expand description
Represents a button to be shown above inline query results
Fields§
§text: String
The text of the button
type: InlineQueryResultsButtonType
Type of the button
Trait Implementations§
Source§impl Clone for InlineQueryResultsButton
impl Clone for InlineQueryResultsButton
Source§fn clone(&self) -> InlineQueryResultsButton
fn clone(&self) -> InlineQueryResultsButton
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 InlineQueryResultsButton
impl Debug for InlineQueryResultsButton
Source§impl<'de> Deserialize<'de> for InlineQueryResultsButton
impl<'de> Deserialize<'de> for InlineQueryResultsButton
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 InlineQueryResultsButton
impl PartialEq for InlineQueryResultsButton
Source§impl Serialize for InlineQueryResultsButton
impl Serialize for InlineQueryResultsButton
impl StructuralPartialEq for InlineQueryResultsButton
Auto Trait Implementations§
impl Freeze for InlineQueryResultsButton
impl RefUnwindSafe for InlineQueryResultsButton
impl Send for InlineQueryResultsButton
impl Sync for InlineQueryResultsButton
impl Unpin for InlineQueryResultsButton
impl UnwindSafe for InlineQueryResultsButton
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