pub struct GetGameHighScores { /* private fields */ }Expand description
Builder for the getGameHighScores method.
Returns the score of the specified user and several of their neighbours in the game’s high score table. Also returns the top 3 users if they are not among those neighbours.
Implementations§
Source§impl GetGameHighScores
impl GetGameHighScores
Sourcepub fn chat_message(self, chat_id: i64, message_id: i64) -> Self
pub fn chat_message(self, chat_id: i64, message_id: i64) -> Self
Sets the target chat message. Required if inline_message_id is not set.
Sourcepub fn inline_message_id(self, id: impl Into<String>) -> Self
pub fn inline_message_id(self, id: impl Into<String>) -> Self
Sets the target inline message. Required if chat_id and message_id are not set.
Trait Implementations§
Source§impl IntoFuture for GetGameHighScores
impl IntoFuture for GetGameHighScores
Source§type Output = Result<Vec<GameHighScore>, Error>
type Output = Result<Vec<GameHighScore>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <GetGameHighScores as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <GetGameHighScores as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GetGameHighScores
impl !UnwindSafe for GetGameHighScores
impl Freeze for GetGameHighScores
impl Send for GetGameHighScores
impl Sync for GetGameHighScores
impl Unpin for GetGameHighScores
impl UnsafeUnpin for GetGameHighScores
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