pub trait AnswerInlineQuerySetters: HasPayload<Payload = AnswerInlineQuery> + Sized {
// Provided methods
fn inline_query_id<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn results<T>(self, value: T) -> Self
where T: IntoIterator<Item = InlineQueryResult> { ... }
fn cache_time(self, value: u32) -> Self { ... }
fn is_personal(self, value: bool) -> Self { ... }
fn next_offset<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn button(self, value: InlineQueryResultsButton) -> Self { ... }
}
Expand description
Setters for fields of AnswerInlineQuery
Provided Methods§
sourcefn inline_query_id<T>(self, value: T) -> Self
fn inline_query_id<T>(self, value: T) -> Self
Setter for inline_query_id
field.
sourcefn results<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = InlineQueryResult>,
fn results<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = InlineQueryResult>,
Setter for results
field.
sourcefn cache_time(self, value: u32) -> Self
fn cache_time(self, value: u32) -> Self
Setter for cache_time
field.
sourcefn is_personal(self, value: bool) -> Self
fn is_personal(self, value: bool) -> Self
Setter for is_personal
field.
sourcefn next_offset<T>(self, value: T) -> Self
fn next_offset<T>(self, value: T) -> Self
Setter for next_offset
field.
Setter for button
field.
Object Safety§
This trait is not object safe.