pub struct CallGetGameHighScores<'a> { /* private fields */ }Implementations§
Source§impl<'a> CallGetGameHighScores<'a>
impl<'a> CallGetGameHighScores<'a>
pub fn get_user_id(&'a self) -> &'a i64
Sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Required if inline_message_id is not specified. Unique identifier for the target chat
pub fn get_chat_id(&'a self) -> &'a Option<i64>
Sourcepub fn message_id(self, message_id: i64) -> Self
pub fn message_id(self, message_id: i64) -> Self
Required if inline_message_id is not specified. Identifier of the sent message
pub fn get_message_id(&'a self) -> &'a Option<i64>
Sourcepub fn inline_message_id(self, inline_message_id: &'a str) -> Self
pub fn inline_message_id(self, inline_message_id: &'a str) -> Self
Required if chat_id and message_id are not specified. Identifier of the inline message
pub fn get_inline_message_id(&'a self) -> &'a Option<&'a str>
pub async fn build(self) -> BotResult<Vec<GameHighScore>>
Auto Trait Implementations§
impl<'a> Freeze for CallGetGameHighScores<'a>
impl<'a> !RefUnwindSafe for CallGetGameHighScores<'a>
impl<'a> Send for CallGetGameHighScores<'a>
impl<'a> Sync for CallGetGameHighScores<'a>
impl<'a> Unpin for CallGetGameHighScores<'a>
impl<'a> UnsafeUnpin for CallGetGameHighScores<'a>
impl<'a> !UnwindSafe for CallGetGameHighScores<'a>
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