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§
sourcefn pre_checkout_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn pre_checkout_query_id<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for pre_checkout_query_id
field.
sourcefn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn error_message<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for error_message
field.