pub struct UpdateNewChosenInlineResult { /* private fields */ }
Expand description
The user has chosen a result of an inline query; for bots only
Implementations§
Source§impl 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§
Source§impl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
impl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
Source§fn as_ref(&self) -> &UpdateNewChosenInlineResult
fn as_ref(&self) -> &UpdateNewChosenInlineResult
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UpdateNewChosenInlineResult
impl Clone for UpdateNewChosenInlineResult
Source§fn clone(&self) -> UpdateNewChosenInlineResult
fn clone(&self) -> UpdateNewChosenInlineResult
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 UpdateNewChosenInlineResult
impl Debug for UpdateNewChosenInlineResult
Source§impl Default for UpdateNewChosenInlineResult
impl Default for UpdateNewChosenInlineResult
Source§fn default() -> UpdateNewChosenInlineResult
fn default() -> UpdateNewChosenInlineResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
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
impl TDUpdate for UpdateNewChosenInlineResult
Auto Trait Implementations§
impl Freeze for UpdateNewChosenInlineResult
impl RefUnwindSafe for UpdateNewChosenInlineResult
impl Send for UpdateNewChosenInlineResult
impl Sync for UpdateNewChosenInlineResult
impl Unpin for UpdateNewChosenInlineResult
impl UnwindSafe for UpdateNewChosenInlineResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more