pub struct PreparedInlineMessage {
pub inline_query_id: i64,
pub result: InlineQueryResult,
pub chat_types: TargetChatTypes,
}Expand description
Represents a ready to send inline message. Use sendInlineQueryResultMessage to send the message
Fields§
§inline_query_id: i64Unique identifier of the inline query to pass to sendInlineQueryResultMessage
result: InlineQueryResultResulted inline message of the query
chat_types: TargetChatTypesTypes of the chats to which the message can be sent
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<'de> Deserialize<'de> for PreparedInlineMessage
impl<'de> Deserialize<'de> for PreparedInlineMessage
Source§fn 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
Source§impl PartialEq for PreparedInlineMessage
impl PartialEq for PreparedInlineMessage
Source§impl Serialize for PreparedInlineMessage
impl Serialize for PreparedInlineMessage
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