pub struct FPLClient { /* private fields */ }Implementations§
Source§impl FPLClient
impl FPLClient
pub async fn get_bootstrap_data(&self) -> Result<BootstrapData, Error>
pub async fn get_fixtures(&self) -> Result<Fixtures, Error>
pub async fn get_manager_details(&self, id: &str) -> Result<Manager, Error>
pub async fn get_manager_transfers(&self, id: &str) -> Result<Transfers, Error>
pub async fn get_player_summary( &self, id: &str, ) -> Result<ElementSummary, Error>
pub async fn get_gw_live_data(&self, id: &str) -> Result<GWLiveData, Error>
pub async fn get_manager_team_for_gw( &self, id: &str, gw: &str, ) -> Result<GWTeam, Error>
Auto Trait Implementations§
impl Freeze for FPLClient
impl RefUnwindSafe for FPLClient
impl Send for FPLClient
impl Sync for FPLClient
impl Unpin for FPLClient
impl UnwindSafe for FPLClient
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