Skip to content

Commit

Permalink
Merge pull request #21 from valentinegb/client-debug-impl
Browse files Browse the repository at this point in the history
Implement `Debug` for `Client` and `InnerClient`
  • Loading branch information
null8626 authored Aug 1, 2024
2 parents b1e3b92 + ec5b9c1 commit 0b2595e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ macro_rules! api {
};
}

#[derive(Debug)]
pub struct InnerClient {
http: reqwest::Client,
token: String,
Expand Down Expand Up @@ -125,6 +126,7 @@ impl InnerClient {

/// A struct representing a [Top.gg API](https://docs.top.gg) client instance.
#[must_use]
#[derive(Debug)]
pub struct Client {
inner: SyncedClient,
}
Expand Down

0 comments on commit 0b2595e

Please sign in to comment.