pub struct InlineQueryResultDocument {
pub id: String,
pub document: Document,
pub title: String,
pub description: String,
}
Expand description
Represents a document
Fields§
§id: String
Unique identifier of the query result
document: Document
Document
title: String
Document title
description: String
Document description
Trait Implementations§
Source§impl Clone for InlineQueryResultDocument
impl Clone for InlineQueryResultDocument
Source§fn clone(&self) -> InlineQueryResultDocument
fn clone(&self) -> InlineQueryResultDocument
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 InlineQueryResultDocument
impl Debug for InlineQueryResultDocument
Source§impl<'de> Deserialize<'de> for InlineQueryResultDocument
impl<'de> Deserialize<'de> for InlineQueryResultDocument
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
Auto Trait Implementations§
impl Freeze for InlineQueryResultDocument
impl RefUnwindSafe for InlineQueryResultDocument
impl Send for InlineQueryResultDocument
impl Sync for InlineQueryResultDocument
impl Unpin for InlineQueryResultDocument
impl UnwindSafe for InlineQueryResultDocument
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