pub struct CallbackQueryBuilder { /* private fields */ }Expand description
Builder for the CallbackQuery structure
Implementations§
Source§impl CallbackQueryBuilder
impl CallbackQueryBuilder
Sourcepub fn new(id: String, from: User, chat_instance: String) -> Self
pub fn new(id: String, from: User, chat_instance: String) -> Self
Instantiate the builder with the fields id, from, message, inline_message_id, chat_instance, data, game_short_name
Sourcepub fn inline_message_id(self, val: String) -> Self
pub fn inline_message_id(self, val: String) -> Self
Set the field inline_message_id to the given value
Sourcepub fn game_short_name(self, val: String) -> Self
pub fn game_short_name(self, val: String) -> Self
Set the field game_short_name to the given value
Trait Implementations§
Source§impl Builder for CallbackQueryBuilder
impl Builder for CallbackQueryBuilder
Source§type Value = CallbackQuery
type Value = CallbackQuery
Type to be built
Auto Trait Implementations§
impl Freeze for CallbackQueryBuilder
impl RefUnwindSafe for CallbackQueryBuilder
impl Send for CallbackQueryBuilder
impl Sync for CallbackQueryBuilder
impl Unpin for CallbackQueryBuilder
impl UnwindSafe for CallbackQueryBuilder
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