pub struct UpdateBotInlineQuery {
pub query_id: i64,
pub user_id: i64,
pub query: String,
pub geo: Option<GeoPoint>,
pub peer_type: Option<InlineQueryPeerType>,
pub offset: String,
}Expand description
Generated from:
updateBotInlineQuery#496f379c flags:# query_id:long user_id:long query:string geo:flags.0?GeoPoint peer_type:flags.1?InlineQueryPeerType offset:string = UpdateFields§
§query_id: i64§user_id: i64§query: String§geo: Option<GeoPoint>§peer_type: Option<InlineQueryPeerType>§offset: StringTrait Implementations§
Source§impl Clone for UpdateBotInlineQuery
impl Clone for UpdateBotInlineQuery
Source§fn clone(&self) -> UpdateBotInlineQuery
fn clone(&self) -> UpdateBotInlineQuery
Returns a duplicate 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 UpdateBotInlineQuery
impl Debug for UpdateBotInlineQuery
Source§impl Deserializable for UpdateBotInlineQuery
impl Deserializable for UpdateBotInlineQuery
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateBotInlineQuery> for Update
impl From<UpdateBotInlineQuery> for Update
Source§fn from(x: UpdateBotInlineQuery) -> Self
fn from(x: UpdateBotInlineQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotInlineQuery
impl Identifiable for UpdateBotInlineQuery
Source§const CONSTRUCTOR_ID: u32 = 0x496f379c
const CONSTRUCTOR_ID: u32 = 0x496f379c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotInlineQuery
impl PartialEq for UpdateBotInlineQuery
Source§impl Serializable for UpdateBotInlineQuery
impl Serializable for UpdateBotInlineQuery
Source§impl TryFrom<Update> for UpdateBotInlineQuery
impl TryFrom<Update> for UpdateBotInlineQuery
impl StructuralPartialEq for UpdateBotInlineQuery
Auto Trait Implementations§
impl Freeze for UpdateBotInlineQuery
impl RefUnwindSafe for UpdateBotInlineQuery
impl Send for UpdateBotInlineQuery
impl Sync for UpdateBotInlineQuery
impl Unpin for UpdateBotInlineQuery
impl UnsafeUnpin for UpdateBotInlineQuery
impl UnwindSafe for UpdateBotInlineQuery
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