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