diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2017-10-08 18:52:52 -0400 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2017-10-08 18:52:52 -0400 |
commit | bad6995cdbfa60ee59107c0d358ba5b6c1738bb4 (patch) | |
tree | 2d101e246ca67140b852a83fb2adc5326a8b257e /ipfs-api/src/response/dag.rs | |
parent | c9bd9da4be33baf689599af3d33574dd359c9493 (diff) |
make multi crate project
Diffstat (limited to 'ipfs-api/src/response/dag.rs')
-rw-r--r-- | ipfs-api/src/response/dag.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipfs-api/src/response/dag.rs b/ipfs-api/src/response/dag.rs new file mode 100644 index 0000000..01509ca --- /dev/null +++ b/ipfs-api/src/response/dag.rs @@ -0,0 +1,8 @@ +pub type DagGetResponse = String; + + +#[derive(Deserialize)] +#[serde(rename_all = "PascalCase")] +pub struct DagPutResponse { + pub cid: String, +} |