Struct rust_tdlib::types::InlineQueryResultArticle
source · pub struct InlineQueryResultArticle { /* private fields */ }
Expand description
Represents a link to an article or web page
Implementations§
source§impl InlineQueryResultArticle
impl InlineQueryResultArticle
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InlineQueryResultArticleBuilder
pub fn id(&self) -> &String
pub fn url(&self) -> &String
pub fn hide_url(&self) -> bool
pub fn title(&self) -> &String
pub fn description(&self) -> &String
pub fn thumbnail(&self) -> &Option<Thumbnail>
Trait Implementations§
source§impl AsRef<InlineQueryResultArticle> for InlineQueryResultArticle
impl AsRef<InlineQueryResultArticle> for InlineQueryResultArticle
source§fn as_ref(&self) -> &InlineQueryResultArticle
fn as_ref(&self) -> &InlineQueryResultArticle
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InlineQueryResultArticle
impl Clone for InlineQueryResultArticle
source§fn clone(&self) -> InlineQueryResultArticle
fn clone(&self) -> InlineQueryResultArticle
Returns a copy 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 InlineQueryResultArticle
impl Debug for InlineQueryResultArticle
source§impl Default for InlineQueryResultArticle
impl Default for InlineQueryResultArticle
source§fn default() -> InlineQueryResultArticle
fn default() -> InlineQueryResultArticle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InlineQueryResultArticle
impl<'de> Deserialize<'de> for InlineQueryResultArticle
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