Struct telexide::api::types::AnswerShippingQuery [−][src]
pub struct AnswerShippingQuery { pub shipping_query_id: String, pub ok: bool, pub shipping_options: Option<Vec<ShippingOption>>, pub error_message: Option<String>, }
struct for holding data needed to call
answer_shipping_query
Fields
shipping_query_id: String
Unique identifier for the query to be answered
ok: bool
Specify True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible)
shipping_options: Option<Vec<ShippingOption>>
Required if ok is True. A vec of available shipping options.
error_message: Option<String>
Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable’). Telegram will display this message to the user.
Trait Implementations
impl Clone for AnswerShippingQuery
[src]
impl Clone for AnswerShippingQuery
[src]fn clone(&self) -> AnswerShippingQuery
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for AnswerShippingQuery
[src]
impl<'de> Deserialize<'de> for AnswerShippingQuery
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AnswerShippingQuery> for AnswerShippingQuery
[src]
impl PartialEq<AnswerShippingQuery> for AnswerShippingQuery
[src]fn eq(&self, other: &AnswerShippingQuery) -> bool
[src]
fn ne(&self, other: &AnswerShippingQuery) -> bool
[src]
impl Serialize for AnswerShippingQuery
[src]
impl Serialize for AnswerShippingQuery
[src]Auto Trait Implementations
impl RefUnwindSafe for AnswerShippingQuery
impl RefUnwindSafe for AnswerShippingQuery
impl Send for AnswerShippingQuery
impl Send for AnswerShippingQuery
impl Sync for AnswerShippingQuery
impl Sync for AnswerShippingQuery
impl Unpin for AnswerShippingQuery
impl Unpin for AnswerShippingQuery
impl UnwindSafe for AnswerShippingQuery
impl UnwindSafe for AnswerShippingQuery
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,