Derive missing copy clone and debug (#35)

This commit is contained in:
Petko Pavlovski 2023-01-03 12:30:14 +02:00 committed by GitHub
parent d4136fd72b
commit f70249b2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ pub type MessageId = String;
/// Protocol identifiers
#[non_exhaustive]
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub enum ProtocolId {
Store,
Lightpush,

View File

@ -125,7 +125,7 @@ pub fn waku_peer_count() -> Result<usize> {
pub type Protocol = String;
/// Peer data from known/connected waku nodes
#[derive(Deserialize, Clone)]
#[derive(Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
pub struct WakuPeerData {
/// Waku peer id