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) -> Self
fn pre_checkout_query_id<T>(self, value: T) -> Self
Setter for pre_checkout_query_id
field.
sourcefn error_message<T>(self, value: T) -> Self
fn error_message<T>(self, value: T) -> Self
Setter for error_message
field.
Object Safety§
This trait is not object safe.