Struct telexide::api::types::AnswerPreCheckoutQuery [−][src]
pub struct AnswerPreCheckoutQuery { pub pre_checkout_query_id: String, pub ok: bool, pub error_message: Option<String>, }
struct for holding data needed to call
answer_pre_checkout_query
Fields
pre_checkout_query_id: String
Unique identifier for the query to be answered
ok: bool
Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems.
error_message: Option<String>
Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. “Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!”). Telegram will display this message to the user.
Trait Implementations
impl Clone for AnswerPreCheckoutQuery
[src]
impl Clone for AnswerPreCheckoutQuery
[src]fn clone(&self) -> AnswerPreCheckoutQuery
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for AnswerPreCheckoutQuery
[src]
impl<'de> Deserialize<'de> for AnswerPreCheckoutQuery
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AnswerPreCheckoutQuery> for AnswerPreCheckoutQuery
[src]
impl PartialEq<AnswerPreCheckoutQuery> for AnswerPreCheckoutQuery
[src]fn eq(&self, other: &AnswerPreCheckoutQuery) -> bool
[src]
fn ne(&self, other: &AnswerPreCheckoutQuery) -> bool
[src]
impl Serialize for AnswerPreCheckoutQuery
[src]
impl Serialize for AnswerPreCheckoutQuery
[src]Auto Trait Implementations
impl RefUnwindSafe for AnswerPreCheckoutQuery
impl RefUnwindSafe for AnswerPreCheckoutQuery
impl Send for AnswerPreCheckoutQuery
impl Send for AnswerPreCheckoutQuery
impl Sync for AnswerPreCheckoutQuery
impl Sync for AnswerPreCheckoutQuery
impl Unpin for AnswerPreCheckoutQuery
impl Unpin for AnswerPreCheckoutQuery
impl UnwindSafe for AnswerPreCheckoutQuery
impl UnwindSafe for AnswerPreCheckoutQuery
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,