Struct telegram_bot2::models::AnswerShippingQuery
source · pub struct AnswerShippingQuery { /* private fields */ }Expand description
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.
Trait Implementations§
source§impl Clone for AnswerShippingQuery
impl Clone for AnswerShippingQuery
source§fn clone(&self) -> AnswerShippingQuery
fn clone(&self) -> AnswerShippingQuery
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 AnswerShippingQuery
impl Debug for AnswerShippingQuery
source§impl<'de> Deserialize<'de> for AnswerShippingQuery
impl<'de> Deserialize<'de> for AnswerShippingQuery
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