pub struct PreparedInlineMessage {
pub query_id: i64,
pub result: BotInlineResult,
pub peer_types: Vec<InlineQueryPeerType>,
pub cache_time: i32,
pub users: Vec<User>,
}Expand description
messages.preparedInlineMessage
Generated from:
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessageFields§
§query_id: i64§result: BotInlineResult§peer_types: Vec<InlineQueryPeerType>§cache_time: i32§users: Vec<User>Trait Implementations§
Source§impl Clone for PreparedInlineMessage
impl Clone for PreparedInlineMessage
Source§fn clone(&self) -> PreparedInlineMessage
fn clone(&self) -> PreparedInlineMessage
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 PreparedInlineMessage
impl Debug for PreparedInlineMessage
Source§impl Deserializable for PreparedInlineMessage
impl Deserializable for PreparedInlineMessage
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<PreparedInlineMessage> for PreparedInlineMessage
impl From<PreparedInlineMessage> for PreparedInlineMessage
Source§fn from(x: PreparedInlineMessage) -> Self
fn from(x: PreparedInlineMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PreparedInlineMessage
impl Identifiable for PreparedInlineMessage
Source§const CONSTRUCTOR_ID: u32 = 0xff57708d
const CONSTRUCTOR_ID: u32 = 0xff57708d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PreparedInlineMessage
impl PartialEq for PreparedInlineMessage
Source§impl Serializable for PreparedInlineMessage
impl Serializable for PreparedInlineMessage
Source§impl TryFrom<PreparedInlineMessage> for PreparedInlineMessage
impl TryFrom<PreparedInlineMessage> for PreparedInlineMessage
Source§type Error = PreparedInlineMessage
type Error = PreparedInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for PreparedInlineMessage
Auto Trait Implementations§
impl Freeze for PreparedInlineMessage
impl RefUnwindSafe for PreparedInlineMessage
impl Send for PreparedInlineMessage
impl Sync for PreparedInlineMessage
impl Unpin for PreparedInlineMessage
impl UnsafeUnpin for PreparedInlineMessage
impl UnwindSafe for PreparedInlineMessage
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