Merge pull request #463 from cloudhead/cloudhead/clone-instance-raw-net-message

Add `Clone` instance to `RawNetworkMessage`
This commit is contained in:
Matt Corallo 2020-09-01 08:52:15 -07:00 committed by GitHub
commit c8c187efd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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