pub struct InputMessageCallbackQuery {
pub id: i32,
pub query_id: i64,
}Expand description
Generated from:
inputMessageCallbackQuery#acfa1a7e id:int query_id:long = InputMessageFields§
§id: i32§query_id: i64Trait Implementations§
Source§impl Clone for InputMessageCallbackQuery
impl Clone for InputMessageCallbackQuery
Source§fn clone(&self) -> InputMessageCallbackQuery
fn clone(&self) -> InputMessageCallbackQuery
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 InputMessageCallbackQuery
impl Debug for InputMessageCallbackQuery
Source§impl Deserializable for InputMessageCallbackQuery
impl Deserializable for InputMessageCallbackQuery
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<InputMessageCallbackQuery> for InputMessage
impl From<InputMessageCallbackQuery> for InputMessage
Source§fn from(x: InputMessageCallbackQuery) -> Self
fn from(x: InputMessageCallbackQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMessageCallbackQuery
impl Identifiable for InputMessageCallbackQuery
Source§const CONSTRUCTOR_ID: u32 = 0xacfa1a7e
const CONSTRUCTOR_ID: u32 = 0xacfa1a7e
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputMessage> for InputMessageCallbackQuery
impl TryFrom<InputMessage> for InputMessageCallbackQuery
Source§type Error = InputMessage
type Error = InputMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMessageCallbackQuery
Auto Trait Implementations§
impl Freeze for InputMessageCallbackQuery
impl RefUnwindSafe for InputMessageCallbackQuery
impl Send for InputMessageCallbackQuery
impl Sync for InputMessageCallbackQuery
impl Unpin for InputMessageCallbackQuery
impl UnsafeUnpin for InputMessageCallbackQuery
impl UnwindSafe for InputMessageCallbackQuery
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