pub struct AnswerCallbackQueryBuilder { /* private fields */ }Expand description
Builder for the AnswerCallbackQuery structure
Implementations§
Source§impl AnswerCallbackQueryBuilder
impl AnswerCallbackQueryBuilder
Sourcepub fn commands(self, val: Vec<BotCommand>) -> Self
pub fn commands(self, val: Vec<BotCommand>) -> Self
Set the field commands to the given value
Sourcepub fn scope(self, val: BotCommandScope) -> Self
pub fn scope(self, val: BotCommandScope) -> Self
Set the field scope to the given value
Sourcepub fn language_code(self, val: String) -> Self
pub fn language_code(self, val: String) -> Self
Set the field language_code to the given value
Trait Implementations§
Source§impl Builder for AnswerCallbackQueryBuilder
impl Builder for AnswerCallbackQueryBuilder
Source§type Value = AnswerCallbackQuery
type Value = AnswerCallbackQuery
Type to be built
Auto Trait Implementations§
impl Freeze for AnswerCallbackQueryBuilder
impl RefUnwindSafe for AnswerCallbackQueryBuilder
impl Send for AnswerCallbackQueryBuilder
impl Sync for AnswerCallbackQueryBuilder
impl Unpin for AnswerCallbackQueryBuilder
impl UnwindSafe for AnswerCallbackQueryBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more