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
|
/// Protocol identifiers
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
pub enum ProtocolId {
|
pub enum ProtocolId {
|
||||||
Store,
|
Store,
|
||||||
Lightpush,
|
Lightpush,
|
||||||
|
|
|
@ -125,7 +125,7 @@ pub fn waku_peer_count() -> Result<usize> {
|
||||||
pub type Protocol = String;
|
pub type Protocol = String;
|
||||||
|
|
||||||
/// Peer data from known/connected waku nodes
|
/// Peer data from known/connected waku nodes
|
||||||
#[derive(Deserialize, Clone)]
|
#[derive(Deserialize, Clone, Debug)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct WakuPeerData {
|
pub struct WakuPeerData {
|
||||||
/// Waku peer id
|
/// Waku peer id
|
||||||
|
|
Loading…
Reference in New Issue