pub struct AnswerShippingQuery {
pub shipping_query_id: i64,
pub shipping_options: Vec<ShippingOption>,
pub error_message: String,
}
Expand description
Sets the result of a shipping query; for bots only
Fields§
§shipping_query_id: i64
Identifier of the shipping query
shipping_options: Vec<ShippingOption>
Available shipping options
error_message: String
An error message, empty on success
Trait Implementations§
Source§impl Clone for AnswerShippingQuery
impl Clone for AnswerShippingQuery
Source§fn clone(&self) -> AnswerShippingQuery
fn clone(&self) -> AnswerShippingQuery
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 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
Source§impl Method for AnswerShippingQuery
impl Method for AnswerShippingQuery
Auto Trait Implementations§
impl Freeze for AnswerShippingQuery
impl RefUnwindSafe for AnswerShippingQuery
impl Send for AnswerShippingQuery
impl Sync for AnswerShippingQuery
impl Unpin for AnswerShippingQuery
impl UnwindSafe for AnswerShippingQuery
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