Struct rust_tdlib::types::InputInlineQueryResultDocument  
source · [−]pub struct InputInlineQueryResultDocument { /* private fields */ }Expand description
Represents a link to a file
Implementations
sourceimpl InputInlineQueryResultDocument
 
impl InputInlineQueryResultDocument
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputInlineQueryResultDocumentBuilder
pub fn id(&self) -> &String
pub fn title(&self) -> &String
pub fn description(&self) -> &String
pub fn document_url(&self) -> &String
pub fn mime_type(&self) -> &String
pub fn thumbnail_url(&self) -> &String
pub fn thumbnail_width(&self) -> i32
pub fn thumbnail_height(&self) -> i32
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations
sourceimpl AsRef<InputInlineQueryResultDocument> for InputInlineQueryResultDocument
 
impl AsRef<InputInlineQueryResultDocument> for InputInlineQueryResultDocument
sourcefn as_ref(&self) -> &InputInlineQueryResultDocument
 
fn as_ref(&self) -> &InputInlineQueryResultDocument
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputInlineQueryResultDocument
 
impl Clone for InputInlineQueryResultDocument
sourcefn clone(&self) -> InputInlineQueryResultDocument
 
fn clone(&self) -> InputInlineQueryResultDocument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for InputInlineQueryResultDocument
 
impl Default for InputInlineQueryResultDocument
sourcefn default() -> InputInlineQueryResultDocument
 
fn default() -> InputInlineQueryResultDocument
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResultDocument
 
impl<'de> Deserialize<'de> for InputInlineQueryResultDocument
sourcefn 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
impl TDInputInlineQueryResult for InputInlineQueryResultDocument
Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResultDocument
impl Send for InputInlineQueryResultDocument
impl Sync for InputInlineQueryResultDocument
impl Unpin for InputInlineQueryResultDocument
impl UnwindSafe for InputInlineQueryResultDocument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more