1
1
Fork 0
mirror of https://github.com/DNSCrypt/encrypted-dns-server.git synced 2024-06-11 05:16:04 +02:00

Serialization now requires the Copy trait

This commit is contained in:
Frank Denis 2020-06-24 13:46:28 +02:00
parent f2e4fe5eb0
commit 641ba88ab1

View File

@ -22,7 +22,7 @@ fn now() -> u32 {
.as_secs() as _
}
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[derive(Debug, Default, Copy, Clone, Serialize, Deserialize)]
#[repr(C, packed)]
pub struct DNSCryptCertInner {
resolver_pk: [u8; 32],