Skip to content

Commit 67d58c6

Browse files
committed
Derive Debug,Clone, .. for all structs
1 parent 6434712 commit 67d58c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ impl UniffiCustomTypeConverter for Txid {
296296
/// Details of a channel as returned by [`Node::list_channels`].
297297
///
298298
/// [`Node::list_channels`]: [`crate::Node::list_channels`]
299+
#[derive(Debug, Clone, PartialEq, Eq)]
299300
pub struct ChannelDetails {
300301
/// The channel's ID (prior to funding transaction generation, this is a random 32 bytes,
301302
/// thereafter this is the transaction ID of the funding transaction XOR the funding transaction
@@ -394,6 +395,7 @@ impl From<LdkChannelDetails> for ChannelDetails {
394395
/// Details of a known Lightning peer as returned by [`Node::list_peers`].
395396
///
396397
/// [`Node::list_peers`]: [`crate::Node::list_peers`]
398+
#[derive(Debug, Clone, PartialEq, Eq)]
397399
pub struct PeerDetails {
398400
/// Our peer's node ID.
399401
pub node_id: PublicKey,

0 commit comments

Comments
 (0)