summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/pin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/pin.rs')
-rw-r--r--ipfs-api/src/response/pin.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipfs-api/src/response/pin.rs b/ipfs-api/src/response/pin.rs
index eab99c2..e6e4192 100644
--- a/ipfs-api/src/response/pin.rs
+++ b/ipfs-api/src/response/pin.rs
@@ -28,6 +28,7 @@ pub struct PinType {
}
+
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct PinLsResponse {
@@ -47,4 +48,5 @@ pub struct PinRmResponse {
#[cfg(test)]
mod tests {
deserialize_test!(v0_pin_ls_0, PinLsResponse);
+ deserialize_test!(v0_pin_add_0, PinAddResponse);
}