pub struct SetGameScoreBuilder { /* private fields */ }Expand description
Builder for the SetGameScore structure
Implementations§
Source§impl SetGameScoreBuilder
impl SetGameScoreBuilder
Sourcepub fn new(user_id: i64, score: i64, message_id: GameScoreMessageId) -> Self
pub fn new(user_id: i64, score: i64, message_id: GameScoreMessageId) -> Self
Instantiate the builder with the fields user_id, score, force, disable_edit_message, message_id
Sourcepub fn disable_edit_message(self, val: bool) -> Self
pub fn disable_edit_message(self, val: bool) -> Self
Set the field disable_edit_message to the given value
Trait Implementations§
Source§impl Builder for SetGameScoreBuilder
impl Builder for SetGameScoreBuilder
Source§type Value = SetGameScore
type Value = SetGameScore
Type to be built
Auto Trait Implementations§
impl Freeze for SetGameScoreBuilder
impl RefUnwindSafe for SetGameScoreBuilder
impl Send for SetGameScoreBuilder
impl Sync for SetGameScoreBuilder
impl Unpin for SetGameScoreBuilder
impl UnwindSafe for SetGameScoreBuilder
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