Derive missing copy clone and debug (#35)
This commit is contained in:
parent
d4136fd72b
commit
f70249b2cc
|
@ -21,7 +21,7 @@ pub type MessageId = String;
|
|||
|
||||
/// Protocol identifiers
|
||||
#[non_exhaustive]
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum ProtocolId {
|
||||
Store,
|
||||
Lightpush,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue