From d4773750f12a9c88c028c09a1dcd1f261e6352a2 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 18 Jul 2022 15:48:38 +0300 Subject: [PATCH] misc: add missed Clone to ObjDest --- Cargo.toml | 2 +- src/misc.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0133c29..40cd606 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sonic-channel" -version = "1.0.0" +version = "1.0.1" authors = ["Dmitriy Pleshevskiy "] description = "Rust client for sonic search backend" categories = ["api-bindings"] diff --git a/src/misc.rs b/src/misc.rs index ecade21..727026f 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -1,5 +1,5 @@ /// Search data destination. Contains collection, bucket and object. -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct ObjDest(Dest, String); impl ObjDest {