pub struct InlineQuery {
pub id: String,
pub from: User,
pub query: String,
pub offset: String,
}Fields§
§id: StringUnique identifier for this query
from: UserSender
query: StringText of the query (up to 512 characters)
offset: StringOffset of the results to be returned, can be controlled by the bot
Trait Implementations§
Source§impl Clone for InlineQuery
impl Clone for InlineQuery
Source§fn clone(&self) -> InlineQuery
fn clone(&self) -> InlineQuery
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 InlineQuery
impl Debug for InlineQuery
Source§impl<'de> Deserialize<'de> for InlineQuery
impl<'de> Deserialize<'de> for InlineQuery
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
Auto Trait Implementations§
impl Freeze for InlineQuery
impl RefUnwindSafe for InlineQuery
impl Send for InlineQuery
impl Sync for InlineQuery
impl Unpin for InlineQuery
impl UnwindSafe for InlineQuery
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