summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/bootstrap.rs
diff options
context:
space:
mode:
authorSimon Heath <icefoxen@gmail.com>2017-12-11 12:45:07 -0500
committerSimon Heath <icefoxen@gmail.com>2017-12-11 12:45:07 -0500
commitfc77980617d9ef179ecb1773f3d901f52790cfad (patch)
tree09575ccc3c80827881305e3e315e260aee57d53c /ipfs-api/src/request/bootstrap.rs
parentfac1b03d287a61f6679856e954aa59c5cbf1dbca (diff)
Add basic derive's to all types
...though I may have missed some. But everything that can should now impl Debug, Copy, Clone, PartialEq, Eq, and Hash.
Diffstat (limited to 'ipfs-api/src/request/bootstrap.rs')
-rw-r--r--ipfs-api/src/request/bootstrap.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-api/src/request/bootstrap.rs b/ipfs-api/src/request/bootstrap.rs
index 3ff8bf8..adbfd19 100644
--- a/ipfs-api/src/request/bootstrap.rs
+++ b/ipfs-api/src/request/bootstrap.rs
@@ -8,7 +8,7 @@
use request::ApiRequest;
-
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct BootstrapAddDefault;
impl_skip_serialize!(BootstrapAddDefault);
@@ -20,7 +20,7 @@ impl ApiRequest for BootstrapAddDefault {
}
}
-
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct BootstrapList;
impl_skip_serialize!(BootstrapList);
@@ -32,7 +32,7 @@ impl ApiRequest for BootstrapList {
}
}
-
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct BootstrapRmAll;
impl_skip_serialize!(BootstrapRmAll);