pub trait AnswerCallbackQuerySetters: HasPayload<Payload = AnswerCallbackQuery> + Sized {
// Provided methods
fn callback_query_id<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn text<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn show_alert(self, value: bool) -> Self { ... }
fn url(self, value: Url) -> Self { ... }
fn cache_time(self, value: u32) -> Self { ... }
}
Expand description
Setters for fields of AnswerCallbackQuery
Provided Methods§
sourcefn callback_query_id<T>(self, value: T) -> Self
fn callback_query_id<T>(self, value: T) -> Self
Setter for callback_query_id
field.
sourcefn show_alert(self, value: bool) -> Self
fn show_alert(self, value: bool) -> Self
Setter for show_alert
field.
sourcefn cache_time(self, value: u32) -> Self
fn cache_time(self, value: u32) -> Self
Setter for cache_time
field.
Object Safety§
This trait is not object safe.