Struct frankenstein::objects::InlineQueryResultGame
source · [−]pub struct InlineQueryResultGame {
pub id: String,
pub game_short_name: String,
pub reply_markup: Option<InlineKeyboardMarkup>,
}
Fields
id: String
game_short_name: String
reply_markup: Option<InlineKeyboardMarkup>
Implementations
sourceimpl InlineQueryResultGame
impl InlineQueryResultGame
sourcepub fn builder() -> InlineQueryResultGameBuilder<((), (), ())>
pub fn builder() -> InlineQueryResultGameBuilder<((), (), ())>
Create a builder for building InlineQueryResultGame
.
On the builder, call .id(...)
, .game_short_name(...)
, .reply_markup(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InlineQueryResultGame
.
Trait Implementations
sourceimpl Clone for InlineQueryResultGame
impl Clone for InlineQueryResultGame
sourcefn clone(&self) -> InlineQueryResultGame
fn clone(&self) -> InlineQueryResultGame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InlineQueryResultGame
impl Debug for InlineQueryResultGame
sourceimpl<'de> Deserialize<'de> for InlineQueryResultGame
impl<'de> Deserialize<'de> for InlineQueryResultGame
sourcefn 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
sourceimpl PartialEq<InlineQueryResultGame> for InlineQueryResultGame
impl PartialEq<InlineQueryResultGame> for InlineQueryResultGame
sourcefn eq(&self, other: &InlineQueryResultGame) -> bool
fn eq(&self, other: &InlineQueryResultGame) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InlineQueryResultGame) -> bool
fn ne(&self, other: &InlineQueryResultGame) -> bool
This method tests for !=
.
sourceimpl Serialize for InlineQueryResultGame
impl Serialize for InlineQueryResultGame
impl StructuralPartialEq for InlineQueryResultGame
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultGame
impl Send for InlineQueryResultGame
impl Sync for InlineQueryResultGame
impl Unpin for InlineQueryResultGame
impl UnwindSafe for InlineQueryResultGame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more