pub trait AnswerWebAppQuerySetters: HasPayload<Payload = AnswerWebAppQuery> + Sized {
// Provided methods
fn web_app_query_id<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn result(self, value: InlineQueryResult) -> Self { ... }
}
Expand description
Setters for fields of AnswerWebAppQuery
Provided Methods§
Sourcefn web_app_query_id<T>(self, value: T) -> Self
fn web_app_query_id<T>(self, value: T) -> Self
Setter for web_app_query_id
field.
Sourcefn result(self, value: InlineQueryResult) -> Self
fn result(self, value: InlineQueryResult) -> Self
Setter for result
field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.