pub struct DDnetClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for DDnetClient
impl Clone for DDnetClient
Source§fn clone(&self) -> DDnetClient
fn clone(&self) -> DDnetClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DDnetApi for DDnetClient
impl DDnetApi for DDnetClient
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, map: &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>
async fn latest_finish(&self) -> Result<Vec<LatestFinishes>>
async fn latest_finish_with_latest( &self, latest: usize, ) -> Result<Vec<LatestFinishes>>
Source§impl Default for DDnetClient
impl Default for DDnetClient
Source§fn default() -> DDnetClient
fn default() -> DDnetClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DDnetClient
impl !RefUnwindSafe for DDnetClient
impl Send for DDnetClient
impl Sync for DDnetClient
impl Unpin for DDnetClient
impl UnsafeUnpin for DDnetClient
impl !UnwindSafe for DDnetClient
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