pub struct AnswerCustomQuery {
pub custom_query_id: i64,
pub data: String,
}
Expand description
Answers a custom query; for bots only
Fields§
§custom_query_id: i64
Identifier of a custom query
data: String
JSON-serialized answer to the query
Trait Implementations§
Source§impl Clone for AnswerCustomQuery
impl Clone for AnswerCustomQuery
Source§fn clone(&self) -> AnswerCustomQuery
fn clone(&self) -> AnswerCustomQuery
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 AnswerCustomQuery
impl Debug for AnswerCustomQuery
Source§impl<'de> Deserialize<'de> for AnswerCustomQuery
impl<'de> Deserialize<'de> for AnswerCustomQuery
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
Source§impl Method for AnswerCustomQuery
impl Method for AnswerCustomQuery
Auto Trait Implementations§
impl Freeze for AnswerCustomQuery
impl RefUnwindSafe for AnswerCustomQuery
impl Send for AnswerCustomQuery
impl Sync for AnswerCustomQuery
impl Unpin for AnswerCustomQuery
impl UnwindSafe for AnswerCustomQuery
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