Add `Clone` instance to `RawNetworkMessage`

This commit is contained in:
Alexis Sellier 2020-08-31 19:21:29 +02:00
parent e8bcde4d38
commit 5017b33326
No known key found for this signature in database
GPG Key ID: 3E3C1B6185AC4475
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ impl Decodable for CommandString {
} }
} }
#[derive(Debug, PartialEq, Eq)] #[derive(Clone, Debug, PartialEq, Eq)]
/// A Network message /// A Network message
pub struct RawNetworkMessage { pub struct RawNetworkMessage {
/// Magic bytes to identify the network these messages are meant for /// Magic bytes to identify the network these messages are meant for