Struct bw_web_api_rs::api::SCApi
source · pub struct SCApi { /* private fields */ }
Implementations§
source§impl SCApi
impl SCApi
pub fn new(client: BWClient) -> Result<Self, ApiError>
pub async fn classic_files_global_maps_1v1(&self) -> Result<Value, ApiError>
pub async fn gateway(&self) -> Result<Value, ApiError>
pub async fn leaderboard(&self) -> Result<Value, ApiError>
pub async fn leaderboard_entity( &self, leaderboard: Leaderboard, offset: i32, length: i32, ) -> Result<Value, ApiError>
pub async fn leaderboard_name_search( &self, leaderboard: Leaderboard, toon: &str, ) -> Result<Value, ApiError>
pub async fn leaderboard_rank_by_toon( &self, leaderboard: Leaderboard, toon: &str, gateway: Region, ) -> Result<Value, ApiError>
pub async fn map_stats_by_toon( &self, toon: &str, gateway: Region, ) -> Result<Value, ApiError>
pub async fn match_maker_game_info_by_toon( &self, toon: &str, gateway: Region, game_mode: i32, season: i32, offset: i32, limit: i32, ) -> Result<Value, ApiError>
pub async fn match_maker_game_info_player_info( &self, match_id: &str, ) -> Result<Value, ApiError>
pub async fn aurora_profile_by_toon( &self, toon: &str, gateway: Region, mask: AuroraProfileByToonV2FieldMask, ) -> Result<Value, ApiError>
Auto Trait Implementations§
impl Freeze for SCApi
impl !RefUnwindSafe for SCApi
impl Send for SCApi
impl Sync for SCApi
impl Unpin for SCApi
impl !UnwindSafe for SCApi
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