pub trait AnswerPreCheckoutQuerySetters: HasPayload<Payload = AnswerPreCheckoutQuery> + Sized {
    // Provided methods
    fn pre_checkout_query_id<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn ok(self, value: bool) -> Self { ... }
    fn error_message<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of AnswerPreCheckoutQuery

Provided Methods§

source

fn pre_checkout_query_id<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for pre_checkout_query_id field.

source

fn ok(self, value: bool) -> Self

Setter for ok field.

source

fn error_message<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for error_message field.

Implementors§