Struct rust_tdlib::types::UpdateNewInlineQuery
source · pub struct UpdateNewInlineQuery { /* private fields */ }
Expand description
A new incoming inline query; for bots only
Implementations§
source§impl UpdateNewInlineQuery
impl UpdateNewInlineQuery
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNewInlineQueryBuilder
pub fn id(&self) -> i64
pub fn sender_user_id(&self) -> i64
pub fn user_location(&self) -> &Option<Location>
pub fn chat_type(&self) -> &Option<ChatType>
pub fn query(&self) -> &String
pub fn offset(&self) -> &String
Trait Implementations§
source§impl AsRef<UpdateNewInlineQuery> for UpdateNewInlineQuery
impl AsRef<UpdateNewInlineQuery> for UpdateNewInlineQuery
source§fn as_ref(&self) -> &UpdateNewInlineQuery
fn as_ref(&self) -> &UpdateNewInlineQuery
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for UpdateNewInlineQuery
impl Clone for UpdateNewInlineQuery
source§fn clone(&self) -> UpdateNewInlineQuery
fn clone(&self) -> UpdateNewInlineQuery
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 UpdateNewInlineQuery
impl Debug for UpdateNewInlineQuery
source§impl Default for UpdateNewInlineQuery
impl Default for UpdateNewInlineQuery
source§fn default() -> UpdateNewInlineQuery
fn default() -> UpdateNewInlineQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateNewInlineQuery
impl<'de> Deserialize<'de> for UpdateNewInlineQuery
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