pub struct GetBotCallbackAnswer {
pub game: bool,
pub peer: InputPeer,
pub msg_id: i32,
pub data: Option<Vec<u8>>,
pub password: Option<InputCheckPasswordSrp>,
}Expand description
Generated from:
messages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswerFields§
§game: bool§peer: InputPeer§msg_id: i32§data: Option<Vec<u8>>§password: Option<InputCheckPasswordSrp>Trait Implementations§
Source§impl Clone for GetBotCallbackAnswer
impl Clone for GetBotCallbackAnswer
Source§fn clone(&self) -> GetBotCallbackAnswer
fn clone(&self) -> GetBotCallbackAnswer
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 GetBotCallbackAnswer
impl Debug for GetBotCallbackAnswer
Source§impl Identifiable for GetBotCallbackAnswer
impl Identifiable for GetBotCallbackAnswer
Source§const CONSTRUCTOR_ID: u32 = 0x9342ca07
const CONSTRUCTOR_ID: u32 = 0x9342ca07
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetBotCallbackAnswer
impl PartialEq for GetBotCallbackAnswer
Source§impl RemoteCall for GetBotCallbackAnswer
impl RemoteCall for GetBotCallbackAnswer
Source§type Return = BotCallbackAnswer
type Return = BotCallbackAnswer
The deserialized response type.
Source§impl Serializable for GetBotCallbackAnswer
impl Serializable for GetBotCallbackAnswer
impl StructuralPartialEq for GetBotCallbackAnswer
Auto Trait Implementations§
impl Freeze for GetBotCallbackAnswer
impl RefUnwindSafe for GetBotCallbackAnswer
impl Send for GetBotCallbackAnswer
impl Sync for GetBotCallbackAnswer
impl Unpin for GetBotCallbackAnswer
impl UnsafeUnpin for GetBotCallbackAnswer
impl UnwindSafe for GetBotCallbackAnswer
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