k2v-client: derive Clone for the K2vClient type

This commit is contained in:
Armaël Guéneau
2026-06-02 14:28:21 +02:00
committed by Alex
parent 5884b4e9c7
commit e665a3432c
+2
View File
@@ -46,6 +46,7 @@ const PATH_ENCODE_SET: AsciiSet = NON_ALPHANUMERIC
.remove(b'.')
.remove(b'~');
#[derive(Clone)]
pub struct K2vClientConfig {
pub endpoint: String,
pub region: String,
@@ -56,6 +57,7 @@ pub struct K2vClientConfig {
}
/// Client used to query a K2V server.
#[derive(Clone)]
pub struct K2vClient {
config: K2vClientConfig,
user_agent: HeaderValue,