Struct rust_tdlib::types::UpdateNewInlineQuery
source · [−]pub struct UpdateNewInlineQuery { /* private fields */ }
Expand description
A new incoming inline query; for bots only
Implementations
sourceimpl 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
sourceimpl AsRef<UpdateNewInlineQuery> for UpdateNewInlineQuery
impl AsRef<UpdateNewInlineQuery> for UpdateNewInlineQuery
sourcefn as_ref(&self) -> &UpdateNewInlineQuery
fn as_ref(&self) -> &UpdateNewInlineQuery
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UpdateNewInlineQuery
impl Clone for UpdateNewInlineQuery
sourcefn clone(&self) -> UpdateNewInlineQuery
fn clone(&self) -> UpdateNewInlineQuery
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 Debug for UpdateNewInlineQuery
impl Debug for UpdateNewInlineQuery
sourceimpl Default for UpdateNewInlineQuery
impl Default for UpdateNewInlineQuery
sourcefn default() -> UpdateNewInlineQuery
fn default() -> UpdateNewInlineQuery
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateNewInlineQuery
impl<'de> Deserialize<'de> for UpdateNewInlineQuery
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
sourceimpl Serialize for UpdateNewInlineQuery
impl Serialize for UpdateNewInlineQuery
impl TDUpdate for UpdateNewInlineQuery
Auto Trait Implementations
impl RefUnwindSafe for UpdateNewInlineQuery
impl Send for UpdateNewInlineQuery
impl Sync for UpdateNewInlineQuery
impl Unpin for UpdateNewInlineQuery
impl UnwindSafe for UpdateNewInlineQuery
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