pub struct AojClient;
Implementations§
Source§impl AojClient
impl AojClient
pub async fn fetch_problems( &self, page: u32, size: u32, ) -> Result<Vec<AojProblem>>
pub async fn fetch_user_ranking( &self, page: u32, size: u32, ) -> Result<AojUserRanking>
pub async fn fetch_user_info(&self, user_id: &str) -> Result<AojUserInfo>
pub async fn fetch_solutions( &self, user_id: &str, page: u32, size: u32, ) -> Result<Vec<AojSolution>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AojClient
impl RefUnwindSafe for AojClient
impl Send for AojClient
impl Sync for AojClient
impl Unpin for AojClient
impl UnwindSafe for AojClient
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