fixup cloneability

This commit is contained in:
core 2023-03-29 18:29:30 -04:00
parent e5d58f053a
commit a77e126319
Signed by: core
GPG Key ID: FDBF740DADDCEECF
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -622,7 +622,7 @@ dependencies = [
[[package]]
name = "dnapi-rs"
version = "0.1.3"
version = "0.1.4"
dependencies = [
"base64 0.21.0",
"base64-serde",

View File

@ -1,6 +1,6 @@
[package]
name = "dnapi-rs"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
description = "A rust client for the Defined Networking API"
license = "AGPL-3.0-or-later"

View File

@ -5,7 +5,7 @@ use trifid_pki::cert::{deserialize_ed25519_public_many, serialize_ed25519_public
use trifid_pki::ed25519_dalek::{SigningKey, VerifyingKey};
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone)]
/// Contains information necessary to make requests against the `DNClient` API.
pub struct Credentials {
/// The assigned Host ID that this client represents