pub struct ClientOSRS { /* private fields */ }Implementations§
Source§impl ClientOSRS
impl ClientOSRS
pub fn new() -> ClientOSRS
pub async fn get_player_gamemode(&self, name: &str) -> Gamemode
pub fn get_hiscore<'life0, 'life_self, 'async_recursion>(
&'life_self self,
name: &'life0 str,
gamemode: Gamemode,
) -> Pin<Box<dyn Future<Output = Result<Hiscore, Box<dyn Error>>> + Send + 'async_recursion>>where
'life0: 'async_recursion,
'life_self: 'async_recursion,
pub async fn get_hiscore_json(&self, name: &str, gamemode: Gamemode) -> String
pub async fn get_player(&self, name: &str, gamemode: Gamemode) -> Player
pub async fn get_player_json(&self, name: &str, gamemode: Gamemode) -> String
Auto Trait Implementations§
impl Freeze for ClientOSRS
impl !RefUnwindSafe for ClientOSRS
impl Send for ClientOSRS
impl Sync for ClientOSRS
impl Unpin for ClientOSRS
impl UnsafeUnpin for ClientOSRS
impl !UnwindSafe for ClientOSRS
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