pub struct InputBotInlineResultGame {
pub id: String,
pub short_name: String,
pub send_message: InputBotInlineMessage,
}Expand description
Generated from:
inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResultFields§
§id: String§short_name: String§send_message: InputBotInlineMessageTrait Implementations§
Source§impl Clone for InputBotInlineResultGame
impl Clone for InputBotInlineResultGame
Source§fn clone(&self) -> InputBotInlineResultGame
fn clone(&self) -> InputBotInlineResultGame
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 InputBotInlineResultGame
impl Debug for InputBotInlineResultGame
Source§impl Deserializable for InputBotInlineResultGame
impl Deserializable for InputBotInlineResultGame
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputBotInlineResultGame> for InputBotInlineResult
impl From<InputBotInlineResultGame> for InputBotInlineResult
Source§fn from(x: InputBotInlineResultGame) -> Self
fn from(x: InputBotInlineResultGame) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBotInlineResultGame
impl Identifiable for InputBotInlineResultGame
Source§const CONSTRUCTOR_ID: u32 = 0x4fa417f2
const CONSTRUCTOR_ID: u32 = 0x4fa417f2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputBotInlineResultGame
impl PartialEq for InputBotInlineResultGame
Source§impl TryFrom<InputBotInlineResult> for InputBotInlineResultGame
impl TryFrom<InputBotInlineResult> for InputBotInlineResultGame
Source§type Error = InputBotInlineResult
type Error = InputBotInlineResult
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputBotInlineResultGame
Auto Trait Implementations§
impl Freeze for InputBotInlineResultGame
impl RefUnwindSafe for InputBotInlineResultGame
impl Send for InputBotInlineResultGame
impl Sync for InputBotInlineResultGame
impl Unpin for InputBotInlineResultGame
impl UnsafeUnpin for InputBotInlineResultGame
impl UnwindSafe for InputBotInlineResultGame
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