summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/stats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/stats.rs')
-rw-r--r--ipfs-api/src/response/stats.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/ipfs-api/src/response/stats.rs b/ipfs-api/src/response/stats.rs
index 931f6e5..261db9b 100644
--- a/ipfs-api/src/response/stats.rs
+++ b/ipfs-api/src/response/stats.rs
@@ -8,10 +8,8 @@
use response::{BitswapStatResponse, RepoStatResponse};
-
pub type StatsBitswapResponse = BitswapStatResponse;
-
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct StatsBwResponse {
@@ -21,10 +19,8 @@ pub struct StatsBwResponse {
pub rate_out: f64,
}
-
pub type StatsRepoResponse = RepoStatResponse;
-
#[cfg(test)]
mod tests {
deserialize_test!(v0_stats_bw_0, StatsBwResponse);