aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/server/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc/src/server/channel.rs')
-rw-r--r--jsonrpc/src/server/channel.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/jsonrpc/src/server/channel.rs b/jsonrpc/src/server/channel.rs
index bb62b9f..9278c8c 100644
--- a/jsonrpc/src/server/channel.rs
+++ b/jsonrpc/src/server/channel.rs
@@ -11,6 +11,7 @@ pub(crate) struct NewNotification {
}
/// Represents a new subscription
+#[derive(Clone)]
pub struct Subscription {
pub id: SubscriptionID,
parent: Arc<Channel>,