From d2b465a19199838669d48d6d77fdc7f8b6ca5a8a Mon Sep 17 00:00:00 2001 From: Christian Perez Llamas <932644+chris-zen@users.noreply.github.com> Date: Sun, 5 Nov 2023 13:17:51 +0100 Subject: [PATCH] Add missing Clone for Destination --- src/endpoints/destinations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/destinations.rs b/src/endpoints/destinations.rs index 53b2f3349..ec1fedf97 100644 --- a/src/endpoints/destinations.rs +++ b/src/endpoints/destinations.rs @@ -17,7 +17,7 @@ use crate::Object; /// println!("The source at index 0 has display name '{}'", source.display_name().unwrap()); /// ``` /// -#[derive(Debug, Hash, Eq, PartialEq)] +#[derive(Debug, Clone, Hash, Eq, PartialEq)] pub struct Destination { pub(crate) endpoint: Endpoint, }