From fad3989ca489bef71ab05db9c0ff43f77ac8a36f Mon Sep 17 00:00:00 2001 From: Jeroen Vervaeke Date: Sun, 30 Nov 2025 14:03:57 +0000 Subject: [PATCH] Added 'Clone' to ConnectionString --- driver/src/client/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/src/client/options.rs b/driver/src/client/options.rs index b06a817af..b2c6cdcaf 100644 --- a/driver/src/client/options.rs +++ b/driver/src/client/options.rs @@ -815,7 +815,7 @@ where /// /// The format of a MongoDB connection string is described [here](https://www.mongodb.com/docs/manual/reference/connection-string/#connection-string-formats). #[skip_serializing_none] -#[derive(Debug, Default, PartialEq, Serialize)] +#[derive(Clone, Debug, Default, PartialEq, Serialize)] #[serde(rename_all = "camelCase")] #[non_exhaustive] pub struct ConnectionString {