pub struct DDApi { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl DDnetApi for DDApi
impl DDnetApi for DDApi
async fn master(&self) -> Result<Master>
async fn skins(&self) -> Result<DDSkins>
async fn custom_master(&self, master: MasterServer) -> Result<Master>
async fn player(&self, player: &str) -> Result<Player>
async fn query(&self, player: &str) -> Result<Vec<Query>>
async fn query_map(&self, player: &str) -> Result<Vec<QueryMap>>
async fn query_mapper(&self, player: &str) -> Result<Vec<QueryMapper>>
async fn map(&self, map: &str) -> Result<Map>
async fn releases_map(&self) -> Result<Vec<ReleasesMaps>>
async fn status(&self) -> Result<Status>
Auto Trait Implementations§
impl Freeze for DDApi
impl !RefUnwindSafe for DDApi
impl Send for DDApi
impl Sync for DDApi
impl Unpin for DDApi
impl !UnwindSafe for DDApi
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