Struct rust_tdlib::types::UpdateNewChosenInlineResult
source · [−]pub struct UpdateNewChosenInlineResult { /* private fields */ }Expand description
The user has chosen a result of an inline query; for bots only
Implementations
sourceimpl UpdateNewChosenInlineResult
impl UpdateNewChosenInlineResult
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNewChosenInlineResultBuilder
pub fn sender_user_id(&self) -> i64
pub fn user_location(&self) -> &Option<Location>
pub fn query(&self) -> &String
pub fn result_id(&self) -> &String
pub fn inline_message_id(&self) -> &String
Trait Implementations
sourceimpl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
impl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
sourcefn as_ref(&self) -> &UpdateNewChosenInlineResult
fn as_ref(&self) -> &UpdateNewChosenInlineResult
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UpdateNewChosenInlineResult
impl Clone for UpdateNewChosenInlineResult
sourcefn clone(&self) -> UpdateNewChosenInlineResult
fn clone(&self) -> UpdateNewChosenInlineResult
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 UpdateNewChosenInlineResult
impl Debug for UpdateNewChosenInlineResult
sourceimpl Default for UpdateNewChosenInlineResult
impl Default for UpdateNewChosenInlineResult
sourcefn default() -> UpdateNewChosenInlineResult
fn default() -> UpdateNewChosenInlineResult
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
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 TDUpdate for UpdateNewChosenInlineResult
Auto Trait Implementations
impl RefUnwindSafe for UpdateNewChosenInlineResult
impl Send for UpdateNewChosenInlineResult
impl Sync for UpdateNewChosenInlineResult
impl Unpin for UpdateNewChosenInlineResult
impl UnwindSafe for UpdateNewChosenInlineResult
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